Install and Configure Cockpit-Podman
Before Cockpit administrators can access and use the Podman functionality in the web console,
the following tasks must be completed:
- Install the Cockpit- Podman add-on application in the web console.
- Verify that the Podman API socket service is enabled. If this service is disabled, start the Podman API socket service.
- Verify that the Podman proxy server settings on the host system are configured for use with the Cockpit web console service.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The Podman container tools must be installed on the host system. For information on how to install Podman, see Installing Podman and Related Utilities in Oracle Linux: Podman User's Guide.
Steps
Follow these steps to install the Cockpit-Podman add-on application, start the Podman API service if not already started, and to verify that the Podman proxy server settings on the host are configured for use with Cockpit.
- In the Cockpit web console, click Terminal. The Terminal shell page appears.
- Type the following to install the Cockpit-Podman add-on application in the web
console.
sudo dnf install -y cockpit-podman
For more information about adding applications to the Cockpit web console, see Install and Manage Add-on Applications - In the Cockpit web console, click Podman and verify that Podman
API service is running. For example, when the:
- Podman API service is enabled and running – The Podman page displays the containers, pods, and images that are available on the local system.
- Podman API service is disabled – The Podman page displays a warning
indicating that the Podman service is disabled.
In the warning dialog, perform the following steps to start the Podman API service.
- Select Automatically Start.
When this option is checked, the Podman API service automatically starts upon each system power up.
- Click Start Podman.
- Select Automatically Start.
- See the following documentation to ensure that the Podman proxy server
settings on the host are configured for use with the Cockpit web console service.
Configuring Proxy Server Settings in Oracle Linux: Podman User's Guide.