跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[Docker] 碰到个怪问题, docker 启动容器的时候提示内存不足?

发表于

运行 docker run 命令的时候,提示:applying cgroup configuration for process caused "failed to write 1 to memory.kmem.limit_in_bytes: write /sys/fs/cgroup/memory/docker/<container_id>/memory.kmem.limit_in_bytes: cannot allocate memory"": unknown.

我查看了系统的内存,空余很多,缓冲内存比较大,但是总体 available 很大,远超于运行容器申请的。 然后我看系统中 cgroup 内存情况,其中,docker 子 cgroup 内存使用了 230G ( memory.usage_in_bytes ) ,接近物理内存的总量了,但是 docker 此时无容器运行,也检查了 docker 系统情况,buildCache 为 0 。

这个会是什么情况?有没有大佬能指点一下?

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.