Docker-stacks: happens lots of jovyan user password problem

Created on 12 Oct 2017  路  5Comments  路  Source: jupyter/docker-stacks

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?

  1. Trying to make integration with zeppelin
  2. Cause zeppelin notebook ui connection refused error(with no error in zeppelin logs)
  3. want to use sudo command(with mv, apt-get ...etc)
  4. and get demand on paswword for jovyan(who is he?)

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?

Most helpful comment

@hero0926 Late seeing your last question. "jovyan" is a play on the word "jovian":

noun: Jovian; plural noun: Jovians

  1. a hypothetical or fictional inhabitant of the planet Jupiter.

https://www.google.com/search?q=jovian

All 5 comments

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

  1. a hypothetical or fictional inhabitant of the planet Jupiter.

https://www.google.com/search?q=jovian

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akhmerov picture akhmerov  路  4Comments

statiksof picture statiksof  路  4Comments

maresb picture maresb  路  4Comments

romainx picture romainx  路  4Comments

fyears picture fyears  路  5Comments