> ## Documentation Index
> Fetch the complete documentation index at: https://gcore-doc-1046.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage containers

After [creating the container](/cloud/caas/create-a-container), you can view and update its configuration in the Customer Portal on the [Containers](https://portal.gcore.com/cloud/project/510960/region/80/caas/containers) page:

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/containers-page.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=6b481568117e155774eccf48a375c2c3" alt="Containers page" width="5452" height="1852" data-path="images/docs/cloud/caas/manage-containers/containers-page.png" />
</Frame>

Click a container name to open its settings. Alternatively, click the three dot-icon next to it and then select **Edit**.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/edit-container.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=25495fbf3cd94d31da77f3bc55258c41" alt="Edit container menu" width="4628" height="1452" data-path="images/docs/cloud/caas/manage-containers/edit-container.png" />
</Frame>

## Container statuses

A container can have the following statuses:

* **Deploying** : The initial setup was successful, and the container works appropriately.
* **Pending** : The required resources have been successfully created, but the container hasn't been scheduled to a node yet.
* **Ready** : The container is up and running.
* **Disabled** : You manually disabled the container in settings.
* **Error** : There were issues with the image of your container in its initial configuration and as a result, the container didn't work.

## Container settings

To start or stop the container, open the container settings and disable or enable the **Started** toggle accordingly:

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/stop-container.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=f35fef1e15a56bbc8a6282fb8827b8df" alt="Started toggle enabled" width="3284" height="1452" data-path="images/docs/cloud/caas/manage-containers/stop-container.png" />
</Frame>

### Overview

The **Overview** tab in container settings features the following details: container status, endpoint, description (if you added one during creation), and date of creation. After you create a container, you can't change this information.

### Image & port

On the **Image & Port** tab, you can add a container startup command, as well as update port and protocol used to connect to the container. You can change these settings at any time.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/image-port.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=35874ff1e54eebacfd4f93012629d141" alt="Image & port tab" width="2760" height="1452" data-path="images/docs/cloud/caas/manage-containers/image-port.png" />
</Frame>

### Container configuration

View and adjust the number of MiB of memory, allocated mCPU, as well as autoscaling limits and triggers. For a detailed overview of these settings, check out the the relevant steps in the [Create a container](/cloud/caas/create-a-container#step-4-configure-autoscaling) guide.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/container-configuration.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=3b3c96b6f2000d3180f599bae0b465da" alt="Container configuration tab" width="2760" height="2392" data-path="images/docs/cloud/caas/manage-containers/container-configuration.png" />
</Frame>

### API key authentication

If you want to configure authentication to the container via API or update your API keys, you can do so on this tab.

Turn on the **Enable API Key authentication** toggle and then add or update keys as needed.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/api-key-auth.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=0b35150137ed02a73c2f775735f94d10" alt="API key authentication tab" width="2700" height="1228" data-path="images/docs/cloud/caas/manage-containers/api-key-auth.png" />
</Frame>

### Settings

The **Settings** tab lets you configure [environment variables](/cloud/caas/create-a-container#step-6-optional-add-environment-variables) and set the duration the container will continue running without receiving any requests before it's automatically deleted.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/settings.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=2c9c83444c692a7c82d64241194a8461" alt="Settings tab" width="3048" height="1716" data-path="images/docs/cloud/caas/manage-containers/settings.png" />
</Frame>

## Logs

View the aggregated log data about requests to all running containers. Note that when you delete a container, logs are also deleted.

Logs entities are shown in the following format:

```
Container name_Date_Date 
IP_Method_Endpoint_HTTP type_ Resonse code_Monitoring technology name
```

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/manage-containers-140.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=404a5e5532f0d13a2aef8ac19e8170ff" alt="Example of the logs" width="3224" height="2412" data-path="images/docs/cloud/caas/manage-containers/manage-containers-140.png" />
</Frame>

### Logging

Activate the Logging service to store your logs. To learn how it works and how to configure it, refer to the article about [Logging](/cloud/logging-as-a-service/about-logging-as-a-service).

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/logging.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=e64a754cdda2f038f46b0174949cff99" alt="Logging tab" width="2156" height="1628" data-path="images/docs/cloud/caas/manage-containers/logging.png" />
</Frame>

### Delete

If you no longer need the container, click the **Delete container** button and then confirm your action by typing **Delete**.

Both the container and its logs will be permanently removed.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1046/Cf8gHikmtl4aL2hb/images/docs/cloud/caas/manage-containers/delete-container.png?fit=max&auto=format&n=Cf8gHikmtl4aL2hb&q=85&s=7d583bc1d3a6436b7a40a7fdd6bbaf0b" alt="Container deletion" width="1804" height="680" data-path="images/docs/cloud/caas/manage-containers/delete-container.png" />
</Frame>
