What is this tool?
A tool to convert between docker run commands and docker-compose.yml format. Organize long docker run commands into Compose format, or generate individual run commands from existing docker-compose.yml files. Supports major options including ports, volumes, environment variables, networks, and resource limits.
How to use
- Enter a docker run command on the left, or docker-compose.yml on the right.
- Click the conversion direction button.
- The result will appear in the opposite field. Use the copy button to copy the result.
Examples
- Convert long docker run commands to Compose format for easier management.
- View each service in docker-compose.yml as individual docker run commands.
- Consolidate multiple docker run commands into a single docker-compose.yml.