1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 03:46:29 +00:00

Check "docker version" from a sibling container

This commit is contained in:
Mike Dillon 2015-10-11 11:04:00 -07:00
parent b1a08843da
commit 30e565f0ed

View File

@ -56,5 +56,5 @@ function docker_tcp {
--expose 2375 \ --expose 2375 \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
rancher/socat-docker rancher/socat-docker
docker -H tcp://$(docker_ip $container_name):2375 version docker run --rm --link "$container_name:docker" docker version
} }