I\'m working through \"The Docker Book\", am on chapter 3, installing and running an Ubuntu container. I\'m on Windows 7.1, using Boot2Docker.
Here\'s what happens when
It looks like your host's shell is automatically expanding /bin/bash
to C:/Program Files (x86)/Git/bin/bash
before it is passed to Docker, which isn't correct as obviously there isn't a C:/Program Files (x86)/Git/bin/bash
inside the Ubuntu container.
Does using quotes fix the problem? For example:
docker run -i -t ubuntu "/bin/bash"
I've just had the same problem, but
docker run -t -i ubuntu
opens up a shell inside the image.
This works for me:
docker run -t -i ubuntu //bin/bash
The double // avoids the conversion[1]
[1] http://www.mingw.org/wiki/Posix_path_conversion