The following table lists the currently available images and the command
Custom images can be created locally on your personal machine and added to Docker Hub for use
to run the software.
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 %}}
You can create custom Docker image and use it with Singularity on our clusters.
If you would like to request an image to be added, please fill out the
Singularity can run images directly from Docker Hub, so you don't need to upload anything to HCC.
### What if I need other Python packages not in the image?
{{% notice info %}}
{{% notice info %}}
An alternative to the steps below is to create your own custom image as
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).
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.