nyxsonsleep
V2EX  ›  Docker

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

  •  
  •   nyxsonsleep · Dec 22, 2024 · 2051 views
    This topic created in 585 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   ·   1107 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 18:12 · PVG 02:12 · LAX 11:12 · JFK 14:12
    ♥ Do have faith in what you're doing.