You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could try the following to run docker image from your local machine:
Create the user jovyan (with some uid 1000 (if this id is available, if not change it to any other available number), gid 1000) and home directory /home/jovyan. The storage will be mounted to this directory.
To do this put
RUN groupadd -g 1000 jovyan
RUN useradd -g jovyan -u 1000 -m jovyan
You could try the following to run docker image from your local machine:
Create the user jovyan (with some uid 1000 (if this id is available, if not change it to any other available number), gid 1000) and home directory /home/jovyan. The storage will be mounted to this directory.
To do this put
RUN groupadd -g 1000 jovyan RUN useradd -g jovyan -u 1000 -m jovyan
before calling
USER jovyan
in the Dockerfile.
Please, let us know if it helps.
thanks for your kindly and helpful answer,it works~
docker run aijcontest2022_official,with the error: unable to find user jovyan: no matching entries in passwd file?
what's wrong?
The text was updated successfully, but these errors were encountered: