Connecting to the Podman socket directly can only be done from the local environment. Before you begin, ensure the user running the Portainer Server container has permissions to access the Podman socket.
From the menu expand Environment-related, click Environments, then click Add environment.
Next, select Podman as the environment type then click Start Wizard. Select the Socket option and your platform. You will be shown the command required to ensure you have started the Podman socket.
Fill out the fields based on the table below.
Field/Option | Overview |
---|---|
Name | Give the environment a descriptive name. |
Override default socket path | Toggle this option on to override the default socket path. |
Socket Path | If Override default socket path is enabled, enter the path to the Podman socket. |
As an optional step you can expand the More settings section to categorize the environment by adding it to a group or tagging it for better searchability.
When you're ready, click Connect. If you have other environments to configure click Next to proceed, otherwise click Close to return to the list of environments.