Skip to content
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

Service 'vehicle_counting' failed to build: OCI runtime create failed #70

Open
Geobm opened this issue Jul 22, 2020 · 1 comment
Open

Comments

@Geobm
Copy link

Geobm commented Jul 22, 2020

Hi @ahmetozlu, I am trying to implement your repo but I've been stuck. I'm using Ubuntu 18.04.1 x86_64 GNU/Linux. Also I've tried by searching similar errors but I've been not able to solve this. I installed Nvidia driver from the packet manager installation in order to set up the docker with docker-compose up, but I still could not fix the error.

Tried the sudo dockerd --debug docker command as suggested in this answer. Then, I removed Docker completely from my distro and re-installed it again but no success.

$ docker-compose up
Creating network "vehicle_counting_tensorflow_default" with the default driver
Building vehicle_counting
Step 1/3 : FROM tensorflow/tensorflow:1.4.0-gpu-py3
1.4.0-gpu-py3: Pulling from tensorflow/tensorflow
ae79f2514705: Pulling fs layer
c59d01a7e4ca: Pulling fs layer
41ba73a9054d: Pulling fs layer
f1bbfd495cc1: Pulling fs layer
0c346f7223e2: Pulling fs layer
5dcd01667896: Pull complete
ca677f607487: Pull complete
b4637619a887: Pull complete
8c644ff287da: Pull complete
119c5f576e79: Pull complete
009f82e71a7c: Pull complete
c61340c01d60: Pull complete
0eb96cde0b43: Pull complete
fc43cef313da: Pull complete
d1eb32bf3d46: Pull complete
dd5cd23b851d: Pull complete
87b2c4e8a38d: Pull complete
b72d93343b76: Pull complete
bf6ebb50d9a4: Pull complete
Digest: sha256:1b86cd66565259bc745cf6e2df01b4340e37371944dbcf10ec31df5d3cd5bd71
Status: Downloaded newer image for tensorflow/tensorflow:1.4.0-gpu-py3
 ---> c349ca9427dc
Step 2/3 : RUN apt update -y && apt install -y python3-dev libsm6 libxext6 libxrender-dev python3-tk
 ---> Running in 6d3caf8c0e28
ERROR: Service 'vehicle_counting' failed to build: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown

Inmediatly used apt update -y && apt install -y python3-dev libsm6 libxext6 libxrender-dev python3-tk as suggested in the Step 2/3 but still not working. Then read this comment to create a docker image and the error its the same.

Any logs should I post, please let me know. Thanks in advance. Any suggestion of what I am doing wrong will be appreciated.

@Geobm Geobm changed the title Cannot start service vehicle_counting: OCI runtime create failed Service 'vehicle_counting' failed to build: OCI runtime create failed Jul 25, 2020
@krushaybhavsar
Copy link

Hi @Geobm were you able to resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants