Before using Spin, if you plan to deploy custom software that you have built, you should become familiar with how to write Dockerfiles, build Docker container images for your application, and push them to an image registry.
Typically, a build process will look something like this:
TAG="registry.nersc.gov/<myproject>/<myimage>:<mytag>" docker build -t $TAG . && docker push $TAG
Image Registries Supported by Spin¶
Access to the NERSC image registry is typically set up during the SpinUp Workshop.
Running Complex Apps Locally¶
If your application is composed of multiple containers, and you want to continue developing locally in addition to deploying in Spin, you may want to become familiar with Docker Compose, which allows you to deploy stacks of multiple containers using a
docker-compose.yml file on your workstation.