Update instructions on using Docker container #394
aowen-uwmad
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal
source /environment?Background
I was helping a user with launching the official Docker container (https://hub.docker.com/r/idaholab/tmap8) on our computing cluster. While the container worked as expected when launched on their personal computer, it did not work the way we launch containers on our cluster.
On our cluster, we effectively do a version of this command:
From what I can tell, the useful bits for setting up the TMAP8 environment come from the files loaded automatically by a bash login shell. But since this user's UID is not mapped inside the container, the process can't do the full login.
With some more digging after launching the container on my personal device as "normal", it looks like the login is running
source /environmentto get the necessary bits in place. So running the above user-specificdockercommand followed bysource /environmentappeared to work as intended on our cluster.
I'm not sure if that is the only thing that the login files have been setup to do, however. It would be good for whoever setup this Docker container to validate this action and to update the Docker Installation Instructions page with the appropriate instructions.
Also, I did not find the Docker Installation Instructions page in the website until after I searched the repository itself, which led me to the appropriate html address. I did notice after the fact that it is linked in the main Installation page, but it's not obvious.
All reactions