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?

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.

  1. In the Cockpit web console, click Terminal. The Terminal shell page appears.
  2. 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
  3. 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.

      1. Select Automatically Start.

        When this option is checked, the Podman API service automatically starts upon each system power up.

      2. Click Start Podman.
  4. 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.