From f766598cec5805678e6979e40f2a909a699bd3ef Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Tue, 9 Oct 2018 15:12:35 +0200 Subject: [PATCH] add container to bridge --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 792a7f6..d46e4d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,3 +16,11 @@ services: max-file: "5" volumes: - /srv/pmpc-cred:/srv/cred:ro + + connect-bridge: + image: docker:dind + volumes: + - /var/run/docker.sock:/var/run/docker.sock + depends_on: + - pmpc + command: sh -c 'docker network connect bridge pmpc'