How to mount a single file in a volume

后端 未结 14 1060
隐瞒了意图╮
隐瞒了意图╮ 2020-11-27 10:16

I am trying to dockerize a PHP application. In the dockerfile, I download the archive, extract it, etc.

Everything works fine. However, if a new version gets released

14条回答
  •  隐瞒了意图╮
    2020-11-27 10:37

    Maybe this helps someone.

    I had this problem and tried everything. Volume bindings looked well and even if I mounted directory (not files), I had the file names in the mounted directory correctly but mounted as dirs.

    I tried to re-enable shared drives and Docker complained the firewall is active.

    After disabling the firewall all was working fine.

提交回复
热议问题