$ composerize
npmTwitter FollowShareVB on GitHubgithub

Say goodbye to sprawling docker commands and say hello to $ docker-compose up :)

Looking for the reverse (Docker compose to docker run command(s)) ? Try Decomposerize

Want to convert from Docker compose file formats ? Try Composeverter

Paste your docker run command(s) into the box below!

Docker Compose version:
CommonSpec
Want to merge with a Docker compose file ? Click here and paste into the box below your existing compose.yaml to append docker run commands to it
1
2
3
4
5
6
7
8
9
10
Output

Copy the following into a file called compose.yaml

For more help, please consult the docker compose documentation.

name: <your project name> services: nginx: ports: - 80:80 volumes: - /var/run/docker.sock:/tmp/docker.sock:ro restart: always logging: options: max-size: 1g image: nginx