Giter Site home page Giter Site logo

Comments (3)

M1chaelM avatar M1chaelM commented on July 18, 2024

This is a problem with the Dockerfile, build and run scripts. They use a hardcoded value of 1000 for the UID and GID when building the container, but then dynamically run with UID and GID that match the local user. So, if the user's UID and GID are not 1000, the system fails to set up the user environment correctly and can't find $HOME.

Unfortunately, fixing this produces a pathological behavior when running the adduser command, causing the build process to hang at Copying files from /etc/skel. There are several possible reasons for this, but the one that seems to fit best in this case is that the filesystem doesn't support sparse files and therefore is failing while try to copy lastlog. This is a sparse file that will appear especially big when it has to handle large userids, which is the case on my system. As a result the build process remains stuck until my partition runs out of space. See here for a similar report.

The fix should be to use a --no-log-init option. But Ubuntu's version of adduser doesn't support this option, so we have to switch to useradd.

from vrx-docker.

M1chaelM avatar M1chaelM commented on July 18, 2024

@caguero I now have this fixed locally. When I get write access to the repository I will submit a PR.

from vrx-docker.

M1chaelM avatar M1chaelM commented on July 18, 2024

Resolved by #34

from vrx-docker.

Related Issues (20)

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.