-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Error to start docker service using older image #2045
Comments
Could you please make your example reproducible? |
Also, Python 3.7 has reached EOL, so it is very unlikely that we will be able to rebuild/fix the image (if there is actually something wrong with the image). But maybe there is a way to make an existing image work for you. |
Sorry my bad.
|
I am following your suggestion for using newer python images:
I think the problem is when I use an old version of the image. But actually I still need images with Python version 3.7 because of my application dependencies. If my memory serves me correctly, previously, the Docker stack provided code to create custom images. But now I can't find it. Can you show me how to create a custom image? Thank You |
I mean more like - how do you create your certificates in |
But I guess I see the problem here. You're using Btw, if you created a minimal example, and stripped out all the parts that don't fix the command, you would be left with a very simple line and the problem would be easier to see. |
Oh sorry. I got the certificates from a third party, so I don't know how they created them. If you are okay, I can send it personally to you via email to check. |
I forgot to mention it, actually I already try both of the command:
here the output: |
I am not very good with certificates and how they work. What you need to do is to:
This is how you build an image, you create a
Then you run You can send me your certs (use my github nickname + |
I am following your suggestion and run the docker like this: but still the same. I am already sending my certificate to your email. I hope it can help you to reproduce my error. |
@bayuaji732 can you reproduce this with |
This works for me just fine - removed mounted volume, network, used |
Definitely need someone who understands how |
Yes, you are right. using docker run running perfectly fine.
Yes, maybe I will use newest python version for temporary solution. Summary:
|
I will keep the issue open for a week - in case someone knows what is actually going on and then close. |
Closing, as discussed earlier. If someone has any ideas, feel free to share them. |
What docker image(s) are you using?
tensorflow-notebook
Host OS system
Centos 7
Host architecture
x86_64
What Docker command are you running?
docker service create --replicas 1 --publish 16016:8888 --mount type=bind,source=/home/apps/certs,target=/etc/ssl/notebook --mount type=volume,source=jupyter-data,target=/home/jovyan/work --env JUPYTER_TOKEN=easy --network my_network --name jupyter jupyter/tensorflow-notebook:python-3.7 start-notebook.py --ServerApp.certfile=/etc/ssl/notebook/ssl-bundle.crt --ServerApp.keyfile=/etc/ssl/notebook/wildcard-ui_ac_id_2023.key
How to Reproduce the problem?
I ran that Docker service command, but the process stuck and the service was not started.
So I stopped it because it was still running endlessly.
But if I use jupyter/tensorflow-notebook:latest, it's running perfectly.
Command output
Expected behavior
I wish I could run a Docker service with SSL and an older version of Docker. I need to use Python 3.7.
Actual behavior
I ran that Docker service command, but the process stuck and the service was not started.
Anything else?
No response
Latest Docker version
The text was updated successfully, but these errors were encountered: