Giter Site home page Giter Site logo

covid-19-eda's People

Contributors

ai2ys avatar

Stargazers

 avatar

Watchers

 avatar  avatar

covid-19-eda's Issues

docker-compose up not working - WARNING: The USER variable is not set.

On one system (Ubuntu 18.04) the command works and on the other system (also Ubuntu 18.04) the command fails, see error message afterwards.

$ docker-compose -f "docker/docker-compose.debug.yml" up -d --build
WARNING: The USER variable is not set. Defaulting to a blank string.
Building jupyterlab
Step 1/26 : FROM python:3.7-buster
 ---> 5e996c9d7c99
Step 2/26 : LABEL maintainer="Sylvia Schmitt"
 ---> Using cache
 ---> 8490c273e460
Step 3/26 : ARG USER_NAME=$USER
 ---> Using cache
 ---> 53f544aa6b27
Step 4/26 : ARG USER_UID=1000
 ---> Using cache
 ---> bdaf39875668
Step 5/26 : ARG USER_GID=$USER_UID
 ---> Using cache
 ---> c579342a40cb
Step 6/26 : ENV HOMEDIR=/home/${USER_NAME}
 ---> Using cache
 ---> 04a9e282e330
Step 7/26 : RUN echo "echo test"
 ---> Using cache
 ---> 829768115ee4
Step 8/26 : RUN echo "home dir: $HOMEDIR"
 ---> Using cache
 ---> 514c8cf1341f
Step 9/26 : RUN echo "user name: $USER_NAME"
 ---> Using cache
 ---> db12f715e131
Step 10/26 : RUN echo "user id: $USER_UID"
 ---> Using cache
 ---> 9f86eb2ce79a
Step 11/26 : RUN echo "group id: $USER_GID"
 ---> Using cache
 ---> 602949f27887
Step 12/26 : RUN groupadd --gid $USER_GID $USER_NAME     && useradd --uid $USER_UID --gid $USER_GID -m $USER_NAME     && apt-get update     && apt-get install -y sudo     && echo $USER_NAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USER_NAME     && chmod 0440 /etc/sudoers.d/$USER_NAME
 ---> Running in b12c7eb0ac31
Usage: groupadd [options] GROUP

Options:
  -f, --force                   exit successfully if the group already exists,
                                and cancel -g if the GID is already used
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           override /etc/login.defs defaults
  -o, --non-unique              allow to create groups with duplicate
                                (non-unique) GID
  -p, --password PASSWORD       use this encrypted password for the new group
  -r, --system                  create a system account
  -R, --root CHROOT_DIR         directory to chroot into

ERROR: Service 'jupyterlab' failed to build: The command '/bin/sh -c groupadd --gid $USER_GID $USER_NAME     && useradd --uid $USER_UID --gid $USER_GID -m $USER_NAME     && apt-get update     && apt-get install -y sudo     && echo $USER_NAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USER_NAME     && chmod 0440 /etc/sudoers.d/$USER_NAME' returned a non-zero code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.