nyxsonsleep
V2EX  ›  Docker

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

  •  
  •   nyxsonsleep · Dec 22, 2024 · 1923 views
    This topic created in 531 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   ·   2848 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 184ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.