1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Merge pull request #28963 from nlewo/docker-readiness

dockerTools.pullImage: change the docker deamon readiness mechanism
This commit is contained in:
Jörg Thalheim 2017-09-13 10:39:16 +01:00 committed by GitHub
commit 9e7db9a9f9

View file

@ -25,7 +25,7 @@ done
# run docker daemon
dockerd -H tcp://127.0.0.1:5555 -H unix:///var/run/docker.sock &
until $(curl --output /dev/null --silent --connect-timeout 2 http://127.0.0.1:5555); do
until docker ps 2>/dev/null; do
printf '.'
sleep 1
done