nyxsonsleep
V2EX  ›  Docker

docker -v 绑定模式是不是重启的时候需要复制一遍文件夹?

  •  
  •   nyxsonsleep · Dec 22, 2024 · 2026 views
    This topic created in 572 days ago, the information mentioned may be changed or developed.

    感觉有的容器重启的时候特别慢。

    2 replies    2024-12-24 10:24:34 +08:00
    xupefei
        1
    xupefei  
       Dec 22, 2024 via iPhone
    重启时不需要复制
    ansemz
        2
    ansemz  
       Dec 24, 2024
    -v 的工作方式不是复制。慢可能是因为要等待程序正常关闭。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 01:10 · PVG 09:10 · LAX 18:10 · JFK 21:10
    ♥ Do have faith in what you're doing.