diff --git a/.travis.yml b/.travis.yml
index ea4e94abe122c3a7eb9f2e62ded092300b30a4c3..0870a7cc703b02af06112171fed1479a10fab6d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ services:
 
 before_install:
 - docker build -t dyngb-trusty -f ./travis_custom/Dockerfile .
-- docker exec dyngb-trusty git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo
+- docker run  dyngb-trusty git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo
 
 script:
 - docker exec dyngb-trusty make /build