Can't start Docker container - 500 Server Error failed to create task for container - Docker OCI runtime create failed error

hello, After creating a docker container i am unable to start the container.
500 Server Error: Internal Server Error (“failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can’t copy bootstrap data to pipe: write init-p: broken pipe: unknown”)

so i’m using Ubuntu 20.04.06 LTS on my VPS.
we even tried Nextcloud container and it also didn’t start. no log files are being logged in the log area. so i can’t further investigate the issue.
we have cyber panel version 2.3.7 latest update.
apreciate any help

murex@server1:~$ docker --version
Docker version 24.0.7, build 24.0.7-0ubuntu2~20.04.1
murex@server1:~$ uname -a
Linux server1.hynhq.com 5.15.0-124-generic #134~20.04.1-Ubuntu SMP Tue Oct 1 15:27:33 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Hello @Murex

Most of time it is usually a docker daemon issue or resource allocation issue. Check status of docker service sudo systemctl status docker and start it if its down sudo systemctl start docker else restart your service and see if it works

I think its a docker / ubuntu kernel issue … docker is running and i restarted it many times.

Im now going to clean install ubuntu 22, and fresh cyberpanel and try again.

Ill be back with an update tonight!

okay, so i realised that the original problem was kernal version and docker version incompatibility, i’ve since updated ubuntu to ubuntu 22 and everything is fresh install and now docker works.

I will open a new question later about the fact that when i open my website
domain.com:9000 , it will not open as HTTPS only as HTTP … i do not know why… and i can’t seem to get rid of the 9000 port… once i do more testing and have a better idea of whats going on wrong i’ll make a new ticket. thanks!

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.