Table of Contents
To use Space Cloud’s Deployments Module you need to specify a docker image to deploy.
Currently, Space Cloud can only deploy containerized applications.
In the add service form, you’ll see the following config.
All you need to do is supply the docker image name, and that’s it. For eg.
Space Cloud searches for the image on Docker Hub by default.
In some cases, you may want to use a docker registry apart from Docker Hub. This is especially true when using the registry provided by a cloud vendor. In this case, you prefix the URL of the registry to the name of the docker image.
Here are a few examples of
spaceuptech/basic-service being on different registries.
You might want to create private images for the more sensitive applications. Space Cloud gives you the provision to pull private images as well.
The first step is creating a docker secret from the
Secrets section. You are required to provide the following:
Once you have the secret ready, use it while creating/updating the service.