Home  >  Q&A  >  body text

docker把宿主机根目录下的所有目录挂载到容器为什么不能运行?

也不是所有目录了,个别不挂载,按道理说里面也是一个完整的操作系统啊?
我还加了--privileged=true

怪我咯怪我咯2706 days ago577

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-25 09:03:26

    Which host directory do you want to mount?

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-04-25 09:03:26

    If / is mounted to /
    it will definitely not run. Only the kernel is the same between the two systems, and the rest may not be the same

    reply
    0
  • Cancelreply