question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OCI runtime create failed ( OS Ubuntu 20.04)

See original GitHub issue

when running the docker-compose build && docker-compose up I get an OCI runtime creage failed ( posted below):

Sending build context to Docker daemon  1.724MB
Step 1/7 : FROM python:3
 ---> 6beb0d435def
Step 2/7 : ENV PYTHONUNBUFFERED=1
 ---> Using cache
 ---> 2aab34bae599
Step 3/7 : WORKDIR /clifs
 ---> Using cache
 ---> 7c6854350226
Step 4/7 : COPY requirements.txt /clifs
 ---> Using cache
 ---> df31f0e3f4ff
Step 5/7 : RUN pip install -r requirements.txt
 ---> Running in 8eca7fd2853d
OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:722: waiting for init preliminary setup caused: EOF: unknown
ERROR: Service 'web' failed to build : Build failed ```


**any ideas I have tried running the command as sudo and user. Upon my digging I found the error might contain to setup of Dockerfile but not sure.**


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pwnedzencommented, Oct 6, 2021

Just wanted to add, started fresh with a Ubuntu 18.04 install on a VM (not WSL). And got the project working! Really amazing project johanmodin Thanks for your work and responses!

0reactions
johanmodincommented, Oct 5, 2021

Great. That’s not an error I’ve seen earlier either, but I will look into it. Closing this issue as it is now covered by #6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug #1950071 “failed to create shim: OCI runtime create failed”
Bug Description​​ The error message is: docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go: ...
Read more >
Docker 20.10 Ubuntu 22.04 OCI runtime exec failed
This looks like a runtime regression, and thus a bug - I'm getting the same error on most containers (which wasn't the case...
Read more >
Error response from daemon: OCI runtime create failed while I ...
I'm tryng to display the GUI of sikulix using a docker container. Below you can see my Dockerfile : FROM ubuntu:20.04 ENV HOME ......
Read more >
Can't solve OCI runtime create failed
I'm on b21390 and Ubuntu 20.04 on WSL 2 and have the same issue. Any idea how to fix it? onomatopellan ...
Read more >
Run the Docker daemon as a non-root user (Rootless mode)
Known to work on Ubuntu 18.04, 20.04, and 22.04. Install dbus-user-session package if ... docker: Error response from daemon: OCI runtime create failed:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found