mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +07:00
37 lines
2.4 KiB
Markdown
37 lines
2.4 KiB
Markdown
---
|
|
metaLinks:
|
|
alternates:
|
|
- >-
|
|
https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/admin/environments/add/podman/socket
|
|
---
|
|
|
|
# Connect to the Podman Socket
|
|
|
|
{% hint style="warning" %}
|
|
Connecting to the Podman Socket is a legacy option that does not support edge features or policy management. For most use cases, [the Edge Agent is recommended](../../../../faqs/getting-started/why-do-we-recommend-using-the-edge-agent-instead-of-the-traditional-agent.md).
|
|
{% endhint %}
|
|
|
|
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**.
|
|
|
|
<figure><img src="../../../../.gitbook/assets/Add-env-new.gif" alt=""><figcaption></figcaption></figure>
|
|
|
|
Next, select **Podman** as the environment type then click **Start Wizard**. Under **More options**, 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.
|
|
|
|
<figure><img src="../../../../.gitbook/assets/2.39-Podman-Socket.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
<figure><img src="../../../../.gitbook/assets/2.39-Podman-Socket-1.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
<table><thead><tr><th width="280">Field/Option</th><th>Overview</th></tr></thead><tbody><tr><td>Name</td><td>Give the environment a descriptive name.</td></tr><tr><td>Override default socket path</td><td>Toggle this option on to override the default socket path.</td></tr><tr><td>Socket Path</td><td>If <strong>Override default socket path</strong> is enabled, enter the path to the Podman socket.</td></tr></tbody></table>
|
|
|
|
<figure><img src="../../../../.gitbook/assets/2.22.0-environments-add-podman-socket-2.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
As an optional step you can expand the **More settings** section to categorize the environment by adding it to a [group](../../groups.md) or [tagging](../../tags.md) it for better searchability.
|
|
|
|
<figure><img src="../../../../.gitbook/assets/2.18-environments-add-docker-moresettings.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
When you're ready, click **Connect**. If you have other environments to configure click **Continue** to proceed, otherwise click **Close** to return to the list of environments.
|