# Container shell access

### Opening a Shell

When viewing a workload, click on the ***...*****&#x20;button** (or right click) on any pod, and then click **Open Shell** to open a new shell session with a pod's container. If there are many containers, Infra App will show a list of containers to choose from.

![](/files/-MKCiVbXWg5RDegJw4rF)

Once connected, this session will persist until you close it or change clusters in Infra App.

![](/files/-MKCiTkWhuKOL7JbrP_u)

To close the shell, simply click on the **X** button in the top right of the terminal view.&#x20;

{% hint style="warning" %}

#### Not all containers can open a shell

Not all containers include files required to open shell access. You may receive an error such as `OCI runtime exec failed: exec failed.`&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infra.app/features/container-shell-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
