What docker image you are using?
jupyter/pyspark-notebook
What complete docker command do you run to launch the container (omitting sensitive values)?
my docker-compose file
image: jupyter/pyspark-notebook
ports:
- "8888:8888"
- "4040-4080:4040-4080"
volumes:
- ./notebooks:/home/jovyan/work/notebooks
environment :
- GRANT_SUDO="yes"
user:
"root"
What steps do you take once the container is running to reproduce the issue?
What do you expect to happen?
Can We get password for jovyan? It could be much easier than grant root things for docker newbies.
or are we possible to use any sudo command with docker-compose or running exec command?
and who the hell is jovyan?
I executed docker run --rm -it -p 8888:8888 -e GRANT_SUDO="yes" --user root jupyter/pyspark-notebook after pulling the latest jupyter/pyspark-notebook image from Docker Cloud. I'm able to run sudo ls and sudo apt-get update both in a notebook and in a terminal without entering a password. Perhaps there's an issue with the docker-compose.yaml. Can you provide the rest of the file (e.g., version header, service name) so I can try an apples-to-apples comparison?
@parente I tried again with updated images with same docker-compose and now it's working with sudo or su. Suppose there was some update within days?
Possibly. The complete build history with dates, tags, and related pull request messages is available on the wiki here https://github.com/jupyter/docker-stacks/wiki/Docker-build-history. I'm glad it's working for you now at any rate.
@parente By the way... who is jovyan? snuggle
@hero0926 Late seeing your last question. "jovyan" is a play on the word "jovian":
noun: Jovian; plural noun: Jovians
- a hypothetical or fictional inhabitant of the planet Jupiter.
Most helpful comment
@hero0926 Late seeing your last question. "jovyan" is a play on the word "jovian":
https://www.google.com/search?q=jovian