-
Notifications
You must be signed in to change notification settings - Fork 48
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
for clifs_web_1 Cannot start service web: OCI runtime create failed #11
Comments
My docker version is 19.03.1 and the version of docker-compose is 1.29.2. |
I have solved the problem above ,but I encountered another one... I cant open the website by google and edge. |
Hey, that address is only valid within the docker network and is not pointed to the web server, but rather the model server. Could you try going to the localhost address as is described in the setup?
|
@johanmodin Thank you for your reply! I have taken a try , after I ran docker-compose build && docker-compose -f docker-compose-gpu.yml up, I got this on google as shown blow. |
You could also try to browse to <your_machines_local_ip>:5000, e.g., 192.168.1.100:5000. If that doesn't work, I would assume that the problem is with the network configuration of your machine. |
Thank you for your reply! I will take a try at once. |
Hi, @johanmodin Thank you for your great work! But I have faced some problem with clifs:
As shown below, I have created my
ckifs_search-engine
, That means that I have created my docker image, right? But I encountered errors while bringing up the project.Step 15/18 : RUN python3 -c "import clip; clip.load('$MODEL', device='cpu')"
---> Running in 7145f0df5bd7
100%|#######################################| 402M/402M [03:58<00:00, 1.77MiB/s]
Removing intermediate container 7145f0df5bd7
---> a62989bd9503
Step 16/18 : RUN ln -sf /usr/bin/python3 /usr/bin/python
---> Running in a0e80becb3cf
Removing intermediate container a0e80becb3cf
---> fd581f18de7d
Step 17/18 : COPY app/ /app
---> 3525ae426cda
Step 18/18 : CMD python clifs.py
---> Running in 89927927e5ef
Removing intermediate container 89927927e5ef
---> fab0dbbe3a71
Successfully built fab0dbbe3a71
Successfully tagged clifs_search-engine:latest
Creating network "clifs_default" with the default driver
Creating clifs_web_1 ... error
Creating search-engine ...
ERROR: for clifs_web_1 Cannot start service web: OCI runtime create failed: container_linux.go:345:
Creating search-engine ... done
ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/clifs/entrypoint.sh": permission denied": unknown
ERROR: Encountered errors while bringing up the project.
So I want to know how to fix it and how to use it.
Thank you for your answering!!!
The text was updated successfully, but these errors were encountered: