[SOLVED] Docker container would not start after upgrading Proxmox VE 8.1 to 8.2 with "OCI runtime create failed"

Behrouze

New Member
Feb 2, 2024
2
2
3
Hi everyone !

After upgrading Proxmox VE 8.1 to 8.2, some of my docker containers running on LXC failed to start.

Here is the message I had when trying to `docker start` a container :

Code:
docker start portainer_agent
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error jailing process inside rootfs: pivot_root .: permission denied: unknown
Error: failed to start containers: portainer_agent

As I shared on Reddit here this issue arises when you have an "old" docker install (docker versions > 25 are running without problem), so to solve this problem, just upgrade the docker you have installed on your LXC (here for Ubuntu, and here to choose for other distros).

Cheers
 
Hi everyone !

After upgrading Proxmox VE 8.1 to 8.2, some of my docker containers running on LXC failed to start.

Here is the message I had when trying to `docker start` a container :

Code:
docker start portainer_agent
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error jailing process inside rootfs: pivot_root .: permission denied: unknown
Error: failed to start containers: portainer_agent

As I shared on Reddit here this issue arises when you have an "old" docker install (docker versions > 25 are running without problem), so to solve this problem, just upgrade the docker you have installed on your LXC (here for Ubuntu, and here to choose for other distros).

Cheers

You are a lifesaver I've been trying to figure this out for two days and have also had performance hits on ctx/docker instances across the board. I've using debian ctx so a little different but meh... thank you very very very much!
 
  • Like
Reactions: Behrouze
Hello. I encountered a similar issue on Proxmox 8.4 when installing Graylog in an LXC using latest version Docker Compose.
Code:
root@test:~/graylog/open-core# docker compose up -d
[+] Running 3/4
 ✔ Network open-core_graylog       Created                                         0.1s 
 ⠦ Container open-core-datanode-1  Starting                                        3.0s 
 ✔ Container open-core-mongodb-1   Started                                         3.0s 
 ✔ Container open-core-graylog-1   Created                                         0.4s 
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 8: operation not permitted: unknown
root@test:~/graylog/open-core# docker -v
Docker version 28.1.1, build 4eba377
root@test:~/graylog/open-core# uname -a
Linux test 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64 GNU/Linux
 
Hello. I encountered a similar issue on Proxmox 8.4 when installing Graylog in an LXC using latest version Docker Compose.
Maybe this can help you:

Edit the <CTID>.conf file by adding lxc.prlimit.memlock=-1 and reboot the container.

Source from here.


NOTE: I have no personal experience with this.