Comments (5)
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.
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.
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.
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)
- Segfault on Ruby 3.3.0 on linux-aarch64 solved in https://bugs.ruby-lang.org/issues/20085 HOT 5
- [Image+Name]+[variant/version]+EOL+scheduled+for+[date]
- Project workspace directory in Rust dev container owned by root user HOT 2
- Support Node 22 scheduled for April 23rd HOT 6
- Support Ubuntu 24.04 scheduled for April 25th HOT 4
- [DERIK GORDON] [ ] EOL scheduled for [January 31, 1969]/[April 03, 2024] HOT 1
- Can't update Rust in bookworm? HOT 4
- Support Cpp (Ubuntu-24.04) HOT 3
- [Image Name] [variant/version] EOL scheduled for [date] HOT 2
- [Image Name] [variant/version] EOL scheduled for [date]
- vcpkg missing from cpp images
- Support Alpine 3.20 scheduled for May 2024 HOT 3
- add opencontainers labels to the docker images HOT 5
- [Universal] Unpin patch version for dotnet runtime & core HOT 1
- [variant/version] EOL scheduled for [date]
- samruddhikhandale/cpp-ts HOT 3
- Is DevContainer Support distroless python docker images? HOT 2
- [Image Name [email protected]] [variant/version] EOL scheduled for [date] HOT 1
- Ruby 3.0 EOL scheduled for 31st March 2024 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from images.