$ composeverter
npmShareVB on GitHubgithub

Convert automatically your Docker compose file from V1 to V2 (2.x, 3.x, Common Specification)

Looking for turning docker run command(s) to Docker compose file: ? Try Composerize

Looking for turning Docker compose file docker run command(s): ? Try Decomposerize

Paste your docker-compose.yml into the box below!

1
2
3
4
5
6
Docker Compose version:
CommonSpec
Output

Copy ready docker-compose.yml in requested version

For more help, please consult the Docker compose format documentation and the Upgrading guide.

name: <your project name> services: nginx: ports: - 80:80 volumes: - /var/run/docker.sock:/tmp/docker.sock:ro image: nginx