Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about the root password of matlab image #2

Open
snakecy opened this issue Jul 13, 2021 · 2 comments
Open

about the root password of matlab image #2

snakecy opened this issue Jul 13, 2021 · 2 comments

Comments

@snakecy
Copy link

snakecy commented Jul 13, 2021

images: docker pull uodcvip/matlab:r2020b

Hi, I downloaded the MATLAB images. I plan to install some files in the image. I need to use the root permission, but I can't find the root password on the dockerhub. Please let me know. Thank you.

@dijksterhuis
Copy link
Member

@snakecy If you want to run a container as root then you would need to run:

docker run -it --user root

User accounts in containers generally do not have passwords (including root). Although best practice would be to build your own new image on top of our one if you need to install additional software or add some data.

@dijksterhuis
Copy link
Member

Having said that, your mileage may vary with our images as they're purpose built for our in house GPU servers. Especially if you don't have your own matlab license...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants