Docker image's root passwd #1884
Answered
by
Harshil2107
PengXuanyao
asked this question in
Q&A
-
Hi, I'm trying to install some tools(like bear), on the gem5 docker image ghcr.io/gem5/ubuntu-24.04_all-dependencies:v24-0 |
Beta Was this translation helpful? Give feedback.
Answered by
Harshil2107
Mar 14, 2025
Replies: 1 comment 1 reply
-
Hi, By default, the Docker image runs as root, so you don't need apt install <package-name> If you want an interactive session with automatic cleanup, you can use: docker run -it --rm ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Harshil2107
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
By default, the Docker image runs as root, so you don't need
sudo
. You can directly install packages using:If you want an interactive session with automatic cleanup, you can use: