Open laurentsenta opened 2 years ago
docker run -d --name=testground-daemon --network=host --restart=unless-stopped -v /data/testground:/root/testground -v /var/run/docker.sock:/var/run/docker.sock iptestground/testground:edge
fails with >>>
Apr 28 15:49:21.508236 [34mINFO[0m starting run {"run_id": "c9lbf0926un35tcoimc0", "plan": "ping", "case": "ping", "runner": "local:docker", "instances": 2}
Apr 28 15:49:21.575400 [34mINFO[0m creating container {"runner": "local:docker", "run_id": "c9lbf0926un35tcoimc0", "name": "tg-ping-ping-c9lbf0926un35tcoimc0-version-a-0"}
Apr 28 15:49:21.580119 [34mINFO[0m creating container {"runner": "local:docker", "run_id": "c9lbf0926un35tcoimc0", "name": "tg-ping-ping-c9lbf0926un35tcoimc0-version-b-0"}
Apr 28 15:49:21.581309 [31mERROR[0m Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /root/testground/data/outputs/local_docker/ping/c9lbf0926un35tcoimc0/version-b/0 {"runner": "local:docker", "run_id": "c9lbf0926un35tcoimc0"}
Apr 28 15:49:21.581345 [34mINFO[0m deleting containers {"runner": "local:docker", "run_id": "c9lbf0926un35tcoimc0", "ids": []}
Apr 28 15:49:21.646168 [33mWARN[0m run finished in error {"run_id": "c9lbf0926un35tcoimc0", "plan": "ping", "case": "ping", "runner": "local:docker", "instances": 2, "error": "Error response from daemon: invalid mount config for type \"bind\": bind source path does not exist: /root/testground/data/outputs/local_docker/ping/c9lbf0926un35tcoimc0/version-b/0"}
Having the ability to run testground from a docker container would save on configuration & build time.