dealii / docker-files

Docker files to automatically build docker-images
10 stars 14 forks source link

root access in docker #13

Closed adorostkar closed 7 years ago

adorostkar commented 7 years ago

Hi, I tried using docker container with dealii and I go into dealii user. I think it is better if we can directly enter the root user as it is with most other containers.

For me the issue is that I would like to install other things with apt-get which requires the root.

Ashkan.

Rombur commented 7 years ago

you should be able to do docker run --user root ... and be root.

adorostkar commented 7 years ago

my bad. It seems that I did something wrong in the process.