Single file volume mounted as directory in Docker

前端 未结 6 1769
春和景丽
春和景丽 2020-12-23 19:00

Docker documentation says that it\'s possible to mount a single file into a Docker container:

The -v flag can also be used to mount a single file - in

6条回答
  •  轮回少年
    2020-12-23 19:20

    There is a simple solution for those who use the VirtualBox machine. By default, the C:/User folder is added. If your project is in C:/projects, add this folder to make it available in VB (with automount).

提交回复
热议问题