Giter Site home page Giter Site logo

Comments (5)

MawKKe avatar MawKKe commented on June 24, 2024 1

It seems the devcontainer images are based on these https://hub.docker.com/_/buildpack-deps/ which themselves are based on the official ubuntu images https://hub.docker.com/_/ubuntu

Apparently the extra user originates from there:

$ docker run -it --rm ubuntu:22.04 grep 'ubuntu' /etc/passwd || echo nothing
nothing
$ docker run -it --rm ubuntu:24.04 grep 'ubuntu' /etc/passwd || echo nothing
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash

from images.

samruddhikhandale avatar samruddhikhandale commented on June 24, 2024

Hi 👋

It seems the devcontainer images are based on these https://hub.docker.com/_/buildpack-deps/ which themselves are based on the official ubuntu images https://hub.docker.com/_/ubuntu

Yes, that's correct! With the newer release of noble, the official ubuntu image added a new ubuntu user with gid/uid:1000. This started conflicting with with vscode:1000.

Hence, we decided to let vscode's UID/GID update as we didn't want to update (rename/delete/update) the ubuntu user provided by the base image.

This is not the case with focal and jammy, hence the vscode:1000 is intact.

#1036 mentions the same thing in the description!

from images.

MawKKe avatar MawKKe commented on June 24, 2024

So is the image supposed to work with UID 1001 just as before? For now it is not, not at least for me.

(Of course it is possible that there is something unrelated going on with my setup)

from images.

schlegel11 avatar schlegel11 commented on June 24, 2024

I have the exact same problem 😉
I can see that merge #1036 fixes the overall image build issue but not the issue that a mapping to the host system is currently done with a wrong uid or at least wrong for the default user's uid for most of us.

from images.

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.