Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我参加了 JFrog Academy 的Conan Essentials培训,从那时起,当我登录我的计算机 (Linux) 时,这个 docker 容器一直在运行。
如何防止此容器在我每次登录时自动运行?如果我想让它运行,我将手动启动它。
经过一番谷歌搜索,我发现可以使用以下命令阻止 docker 容器自动启动:
docker update --restart no<容器名称或 ID >
docker update --restart no