portainer-docs/user/docker/containers/console.md

912 B

Access a container's console

From the menu select Containers, select the container then select Console.

Select the command and the user you want to give access to, then click Connect.

{% hint style="info" %} For Alpine Linux containers, you must select the/bin/ash command. {% endhint %}

If you need to define a command other than those provided, toggle the Use custom command option on. Once connected, you can run commands in the console the same as any other Linux system.