V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
kingmo888
V2EX  ›  问与答

请问在群晖中,如何修改 Container Manager(docker)容器的文件?

  •  
  •   kingmo888 · 69 天前 · 350 次点击
    这是一个创建于 69 天前的主题,其中的信息可能已经有所发展或是发生改变。

    谢谢。 在 web 上找不到。 假设容器名称是 project_name 通过 ssh find 它的执行目录,能找到是在 volume1/@docker/xxxxxx/project_name, 但是 @docker 中能搜到 N 个 project_name ,ls 后文件一样,有的是空的。可能跟我重复注册表创建了 N 次及通过项目创建 N 次有关,如何确定真正在用的是哪个,其他的怎么删除?

    1 条回复    2024-03-01 16:00:41 +08:00
    saigetsu
        1
    saigetsu  
       69 天前
    应该是得先 docker exec -it project_name /bin/bash (或者/bin/sh 之类的)
    然后 find 这样吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5233 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 01:12 · PVG 09:12 · LAX 18:12 · JFK 21:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.