Closed Yefee closed 6 months ago
CC: @julienchastang
Hello Yefee,
Thank you for your interest in thredds-docker!
Apologies for the late response, I was traveling yesterday and just now have gotten a chance to respond. It looks like you're running the image using apptainer/singularity, which we don't support so we can't guarantee any compatibility with it. However, I believe your issue would be related to this line in the container's entrypoint.sh
which it inherits from unidata/tomcat-docker
.
This portion of the entrypoint is meant to allow for a consistent UID both within the container and on the host machine. I'm not particularly familiar with the ins and outs of apptainer/singularity, but I do know that it allows for you (i.e., a user of an HPC system) to launch containers without elevated privileges and thus has some of this user management related things built in.
I imagine that your problem is due to this difference between docker and singularity.
As I mentioned, however, we don't support singularity, so I'm not sure if there's anything that can be easily done to fix this.
Are you attempting to run on casper for a particular reason, or is this just for testing purposes? It's my understanding that HPC centers typically don't allow for long-running jobs, especially those that may require opening ports, such as THREDDS.
I would recommend that, if possible, to acquire access to a system where you can run Docker containers as opposed to having to rely on apptainer/singularity.
I hope this information was useful.
I will leave this issue open until next Wednesday in case you need anything else. Let me know if there's another way I can help.
Best, Ana V. Espinoza
Dear Ana,
Thanks for your detailed response.
However, I believe your issue would be related to this line in the container's entrypoint.sh which it inherits from unidata/tomcat-docker.
Would it be possible to manually provide an UID for the application? I believe I could use my own UID?
Are you attempting to run on casper for a particular reason, or is this just for testing purposes? It's my understanding that HPC centers typically don't allow for long-running jobs, especially those that may require opening ports, such as THREDDS.
I am using Casper to read a ncml CMIP6 data file. This is the repo I am trying to make it work. It requires to initiate an TREDDS server to read the data via OpenDap. There would be no problem with opening ports.
Thanks! Chengfei
Hi all,
Thanks for the wonderful work. I am trying to install the docker image using apptainer on NCAR's casper supercomputer. I installed it successfully, but I cannot launch it. Below is my procedure. Any suggestions would be appreciated!
The thredds sever is installed.
I cannot launch it.