mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-10-29 13:20:53 +08:00
Check "docker version" from a sibling container
This commit is contained in:
1 parent
b1a08843da
commit
30e565f0ed
1 file changed
+1
-1
@@ -56,5 +56,5 @@ function docker_tcp {
|
||||
--expose 2375 \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
rancher/socat-docker
|
||||
docker -H tcp://$(docker_ip $container_name):2375 version
|
||||
docker run --rm --link "$container_name:docker" docker version
|
||||
}
|
||||
Reference in new issue
Block a user