Docker Compose格式转换器
在V1、2.x、3.x或CommonSpec之间转换Docker Compose文件,可扩展端口/卷语法。
转换为CommonSpec
name: <your project name>
services:
nginx:
ports:
- 80:80
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
image: nginx