V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
asd999cxcx
V2EX  ›  Docker

在容器内开发的时候如果选择的是根目录, CPU 占用特别高

  •  
  •   asd999cxcx · Sep 29, 2024 · 1670 views
    This topic created in 579 days ago, the information mentioned may be changed or developed.
    最近尝鲜容器开发环境,发现进入容器后开发如果选择的目录为根目录,那么 cpu 占用在 90+%,但是如果选择 root 目录就 1%不到。这是为啥?还有就是不知道怎么设置,导致我在容器内创建 spring 项目的时候提示访问异常,开发人员工具提示我访问 127.0.0.1:7897 (我宿主机的代理)失败
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1099 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:37 · PVG 01:37 · LAX 10:37 · JFK 13:37
    ♥ Do have faith in what you're doing.