In the previous sections of this tutorial we used the fedora-sc stack that we pulled from the official cjr stack repository. For an ideal experience, cjr requires specially built stacks like fedora-sc. However it is also possible to also use existing Docker Hub images.
To use an existing image as a stack, you set the stack flag equal to the image name.
For example, to start a shell using the official fedora image fedora:latest
, run the command
$ cjr shell --stack=fedora:latest
Note that the Jupyter or Theia commands will not work for this stack since it does not have the proper dependancies installed. Nevertheless, by using existing Docker Hub images, you can very easily test out different linux distributions, package managers, and software. Remember that any changes that you make to the linux operating system or any software that you install will not persist after you exit the shell; this makes it a perfect environment for experimentation.
If you would like to learn how to create your own custom stacks from existing Docker Hub images and how to save your modifications with snapshotting, see the quick start guide on creating stacks.
If you search on Docker Hub you will likely find existing images for most of the software that you might be intereted in. Below we list a few examples that you might be interested in trying out.
ubuntu:latest
- ubuntu is a popular linux distribution.clearlinux:latest
- clear linux is a fast linux distribution that is maintained by Intel. Many of the libaries for clear linux have been compiled with optimization flags and run faster than on other distros.python:latest
- python.tensorflow/tenseroflow:latest
- tensorflow.julia:latest
- julia.Note: Docker Hub with custom entrypoints that do not behave like a shell will not work correcly with cjr.