
michalpodeszwa/docker-composeThis image is meant to simplify process of using docker-compose, not requiring you to install it on your own machine.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v "$(pwd):/scripts/$(basename "$(pwd)")" -w "/scripts/$(basename "$(pwd)")" michalpodeszwa/docker-compose docker-compose help
This command mounts your current directory as /scripts and sets it as a workspace, mounts docker.sock file inside, so the docker inside uses your local docker for the scripts.
You can also use docker:dind image to achieve complete encapsulation like so:
docker run -d --name docker --privileged docker:dind docker run -it --link docker -v $(pwd):/scripts -w /scripts michalpodeszwa/docker-compose docker-compose help
The second way gives you complete encapsulation. What it means is that the new container won't see the host containers/images and vice-versa.




manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务