Boot2docker/Windows: can't run bash on Ubuntu container

前端 未结 3 1415
死守一世寂寞
死守一世寂寞 2021-02-04 18:22

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

3条回答
  •  野性不改
    2021-02-04 19:05

    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

提交回复
热议问题