-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update causes error. #1629
Comments
Remove But this shouldn't happen anyway... Please post infos about your system. Is it a LXC container? Are you using a non-root user? |
No at the Moment I'm using a root User. oom_kill_disable: true is enabled in some Services... I will disable it and try again. (In the current master File it is also enabled...) Details about system: Simple good old Intel NUC, SSD and a static ip. Debian 9 installed ... |
Yes, it is enabled because it should work and is not something bad or uncommon... |
With a clean install (new machine and following the mailcow-dockerized-docs/install/ instructions), I also run into problems. Removing the oom_kill_disable line from the docker-compose file works. |
What reports docker info, what Distro is it, kernel version? |
Here as well with a new fresh install on a fresh installed Ubuntu 18 LTS virtual machine.
Docker info:
|
@andryyy Which version of Docker do you have?
My assumptions are not true: So I think for these containers the memory property needs to be defined. More info: |
I'm not sure if anyone still has this issue, but it seems that Ubuntu 18.04 ships with docker-compose 1.17.1, while oom_kill_disable is a 1.18 feature. I used this page to update to 1.22. And then it seems to work |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am still encountering this problem. Fresh Debian 10 and docker install. Mailcow is the first container. `ERROR: for mailcowdockerized_dockerapi-mailcow_1 Cannot start service dockerapi-mailcow: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "process_linux.go:415: setting cgroup config for procHooks process caused \"failed to write \\\"1\\\" to \\\"/sys/fs/cgroup/memory/docker/a3957e68f39cc0ada08c7f61215a99b634a38c2f9a09c555f11bc7dcc4af572a/memory.oom_control\\\": write /sys/fs/cgroup/memory/docker/a3957e68f39cc0ada08c7f61215a99b634a38c2f9a09c555f11bc7dcc4af572a/memory.oom_control: permission denied\""": unknown ERROR: for dockerapi-mailcow Cannot start service dockerapi-mailcow: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "process_linux.go:415: setting cgroup config for procHooks process caused \"failed to write \\\"1\\\" to \\\"/sys/fs/cgroup/memory/docker/a3957e68f39cc0ada08c7f61215a99b634a38c2f9a09c555f11bc7dcc4af572a/memory.oom_control\\\": write /sys/fs/cgroup/memory/docker/a3957e68f39cc0ada08c7f61215a99b634a38c2f9a09c555f11bc7dcc4af572a/memory.oom_control: permission denied\""": unknown |
Do not use container based virtualization for your host system. |
Why? |
similar issue with net.core.somaxconn sysctl key:
Running mailcow in a proxmox container, commented out systcls lines in docker-composer.yml fixed the starting of mailcow |
After the new update I get the following error:
ERROR: for dockerapi-mailcow Cannot start service dockerapi-mailcow: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\\"failed to write 1 to memory.oom_control: write /sys/fs/cgroup/memory/docker/eff49d3cd69560001f3bc50f38bc4b489381454d4b835f2de159a794006bb9ac/memory.oom_control: permission denied\\\"\"": unknown ERROR: Encountered errors while bringing up the project.
Removing and reinstalling images and containers does not help.
The text was updated successfully, but these errors were encountered: