Deploying A Container

Prerequisites

Navigate to the environment where the container will be deployed. To do this, select Environments from the left-hand navigation, and then select the correct environment.

Once here, select the Deploy Container button on the top right of the screen. This will open the deploy container wizard.

In this modal, the container's initial state will be configured:

  • Set the container to Stateful if it's a database or has a volume that needs to persist between restarts.
  • Select the deployment strategy, for the container.
  • Set the number of initial instances to create with the container.
  • Modify which servers qualify as deployment targets for the container through tags.
  • Select an image that will be used to create the container.
  • Networking settings for the container.
  • Create or add to a deployment.

Container Create

For more details on these settings visit this page in the main reference docs.

To keep things simple, this guide will only cover the basics needed to get the container online.

  • Container Name - A name for the container (this form field also automatically updates the hostname field).
  • Stateful - This can be left in its default Stateless as the website has no volume and no data to persist.
  • Image - Click Recent Images and then select the image generated in the import image step from the dropdown.

Deployments will be covered in a future step but for now, leave it disabled and click on Deploy Container.

Cycle will create the container and then immediately open the container dialog. At this point, the container is not running yet, but the instance has been created. The next page will cover the details of managing the container.