It's my first week working on dockers, i have arrived on my new work, found running container on server, on this container i have installed jupyter. ps: i don't know on which port my container is running, there is no expose in the code.
I'm unable to access the jupyter from my localhost.
I did:
#Acess server
ssh data_team@word-server-prod
# on server
docker ps
f04ccccccc7 registry.gitlab.com/world/jupyter_project:9ad9XXXXXXXXXXXXXXXXXXXXXXXXXXX8 "/bin/bash -c '/usr/" 12 weeks ago Up 12 weeks jupyter_project
#
# access to container
docker container exec -it f04ccccccc7 bash
#inside container
jupyter notebook --ip 0.0.0.0 --no-browser --allow-root
**i got**
http://127.0.0.1:8889/?token=16125997dXXXXXXXXXXXXXXXXXXXXXXXXXX24cd5d99
**from server i did**
curl http://127.0.0.1:8889/?token=16125997dXXXXXXXXXXXXXXXXXXXXXXXXXX24cd5d99
and i got curl: (7) Failed to connect to 127.0.0.1 port 8889: refused connexion