diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b054c1182d3f0da784f6c647c292be6072840b1..9ae3f59dccc3f4417e0179a7634c725fae08ea77 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ composer:
   before_script:
       - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
       - docker pull $TEST_IMAGE
-      - docker network ls -f name=rekall || docker network create rekall
+      - docker network inspect rekall || docker network create rekall
       - docker ps -a -f name=mysql | grep mysql && docker rm mysql || true
       - docker ps -a -f name=rekall | grep rekall && docker rm rekall || true
   rules: