NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

How to manage a container

Reviewed on 13 August 2024Published on 26 May 2021

This page shows you how to manage a container, should you need to verify or edit its deployment parameters after creation. You can deploy a container from the Scaleway Container Registry or any other public container registry, such as Docker Hub, AWS Container registries, GitLab container registry, etc.

Before you startLink to this anchor

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Deployed a container

How to manage a container deploymentLink to this anchor

Manage a deployment from the Scaleway Container RegistryLink to this anchor

  1. Click Containers in the Serverless section of the side menu. The Containers page displays.
  2. Click the relevant containers namespace.
  3. Click the name of the container you want to manage, then select the Settings tab.
  4. In the Container image section:
    • Select the Scaleway Container Registry.
    • Choose an image from your Container Registry. Select the required Container Registry namespace from the drop-down list, and then select the container and tag.
    • Choose the port your container is listening on. We recommend configuring your container to listen on the PORT environment variable.
  5. In the Resources section, select the vCPU and memory to allocate to your container at runtime. These values define the performance characteristics of your container.
  6. Set your autoscaling preferences, or leave them at default values. The Scaleway platform automatically scales the number of available instances of your container to match the incoming load, depending on the settings you define here.
  7. In the Advanced options section, check or edit any of the following:
    • Declare environment variables you want to inject into your container. For each environment variable, click +Add variable and enter the key/value pair.
    • Declare secrets for your container. Secrets are environment variables that are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
      Note

      Encode your environment variables and secrets to base64 if they are too large, and contain carriage returns.

  8. Click Deploy container to save any changes you have made.

Manage a deployment from an external container registryLink to this anchor

  1. Click Containers in the Serverless section of the side menu. The Containers page displays.
  2. Click the relevant containers namespace.
  3. Click the name of the container you want to manage, then select the Settings tab.
  4. In the Container image section:
    • Select the External container registry.
    • Enter the public container image URL provided by the external registry.
    • Choose the port your container is listening on. We recommend configuring your container to listen on the PORT environment variable.
  5. In the Resources section, select the vCPU and memory to allocate to your container at runtime. These values define the performance characteristics of your container.
  6. Set your autoscaling preferences, or leave them at default values. The Scaleway platform automatically scales the number of available instances of your container to match the incoming load, depending on the settings you define here.
  7. In the Advanced options section, check or edit any of the following:
    • Declare environment variables you want to inject into your container. For each environment variable, click +Add variable and enter the key/value pair.
    • Declare secrets for your container. Secrets are environment variables that are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
      Note

      Encode your environment variables and secrets to base64 if they are too large, and contain carriage returns.

  8. Click Deploy container to save any changes you have made.
See also
How to deploy a containerHow to add a custom domain to a container
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway