Open josephwinston opened 10 years ago
I've just tried this numerous times on my system and cannot reproduce it. What I've been trying is to start one docker-proxify (docker run -i -t --privileged -e http_proxy -e https_proxy jrandall/docker-proxify
) and then in another terminal on the same server, start a second one a few seconds later using the same command. In all my ~10 tests, the second version has started just fine. I've even tried switching very quickly before the first one completely starts, and I haven't been able to reproduce the very long wait for the docker daemon to be ready.
Can you reliably reproduce this?
I don't have Docker 1.3.0 installed to test with (I'm now testing with 1.2.0), so it is possible this is a new issue with that version.
I can easily reproduce this on an up to date 14.04 with docker 1.3.0.
This includes doing the following:
$ docker rm -f `docker ps -a -q`
$ docker rmi -f `docker images -q `
before running down jrandall/docker-proxify
docker version:
Verify that nothing is running:
docker-proxify is on the VM running 14.04:
Start the container a second time:
Wait a while and everything works:
Note:
does not allow the next invocation of
docker-proxify
to work correctly. Like before, you must wait a while.