Closed errordeveloper closed 9 years ago
Ahhh just found what this is - its because the image is not on the system.
If I first:
$ export DOCKER_HOST=
$ docker pull busybox
$ export DOCKER_HOST=tcp://127.0.0.1:2375
$ CID=$(docker run -e "WEAVE_CIDR=10.255.0.51/8" -d busybox)
Then it runs fine - investigating now - I think pulling images via powerstrip might be hard until we have the HTTP -> TCP hijacking working via the proxy. I think attach
and pull
are the 2 commands that do the hijacking.
I will put a clear instruction for the user to docker pull binocarlos/powerstrip-weave-example:latest
before running the example.
Having said that I just did:
$ DOCKER_HOST=tcp://127.0.0.1:2375 docker pull busybox
And it pulled fine - it might just work if I fix up the bug in powerstrip-weave - reporting back presently.
Yay - solved this by handling 'No image found: [imagename]' responses properly.
This makes my comments above nonsense - powerstrip can pull images fine :)
Leaving this open for feedback that its made a difference.
@binocarlos should this be closed?
yup although I was waiting until I fixed it properly (as in checking for the content-type rather than scan the body for the string "no image found")
Am doing this by checking the content-type headers now so am closing....
After setting it all up according to the blog post, I ran this:
and got: