The following table lists the currently available images and the command
to run the software.
Custom images can be created locally on your personal machine and added to Docker Hub for use
on HCC clusters. More information on creating custom Docker images can be found in the [Docker documentation](https://docs.docker.com/develop/develop-images/baseimages/).
{{% notice note %}}
If you would like to request an image to be added, please fill out the
Start with an HCC-provided image as the base for your Dockerfile (i.e. `FROM unlhcc/spades`)
and add any additional packages you desire.
If you get the error `FATAL: kernel too old` when using your Singularity image on the HCC clusters, that means the *glibc* version in your image is too new for the kernel on the cluster. One way to solve this is to use lower version of your base image (for example, if you have used Ubuntu:18.04 please use Ubuntu:16.04 instead).
{{% /notice %}}
All the Dockerfiles of the images we host on HCC are
[publicly available here](https://github.com/unlhcc/singularity-dockerfiles)
You can use them as an example when creating your own image. The only thing you need to note
when creating custom Docker images you want to use on HCC is to add the line:
{{<highlightbatch>}}
RUN mkdir -p /work
{{</highlight>}}
at the end of your Dockerfile. This creates a `/work` directory inside your image so
your `$WORK` directory is available.
### Add packages to an existing image
Alternatively, instead of building an image from scratch, you can start with an HCC-provided
image as the base for your Dockerfile (i.e. `FROM unlhcc/spades`)
and add any additional packages you desire.
Unfortunately it's not possible to create one image that has every
available Python package installed for logistical reasons. Images are
created with a small set of the most commonly-used scientific packages,
...
...
@@ -165,42 +221,3 @@ image for Spades version 3.11.0, run:
If you get the error `FATAL: kernel too old` when using your Singularity image on the HCC clusters, that means the *glibc* version in your image is too new for the kernel on the cluster. One way to solve this is to use lower version of your base image (for example, if you have used Ubuntu:18.04 please use Ubuntu:16.04 instead).
{{% /notice %}}
All the Dockerfiles of the images we host on HCC are
[publicly available here](https://github.com/unlhcc/singularity-dockerfiles)
You can use them as an example when creating your own image. The only thing you need to note
when creating custom Docker images you want to use on HCC is to add the line:
{{<highlightbatch>}}
RUN mkdir -p /work
{{</highlight>}}
at the end of your Dockerfile. This creates a `/work` directory inside your image so
your `$WORK` directory on Crane/Tusker is available.