Add a Container to a Pod Group

Using the Podman web console page, Cockpit users can add a container to a pod group by creating a container within that group.

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.
  • The Cockpit-Podman add-on application must be installed. For further information on how to configure the Cockpit web console to interact with Podman, see Install and Configure Cockpit-Podman.
  • One or more pod groups must already exist in the Container table. For information on how to create a Pod Group, see Create a Pod Group.
  • Users with limited access privileges can only add containers to a pod group they created.

Steps

Using the Cockpit web console, follow these steps to add a container to a pod group.

  1. In the Cockpit navigation pane, click Podman.

    The Podman page appears.

  2. In the Podman page, navigate to the Container table and find the row with the pod group that you want to add a container and click Create container in pod.

    The Create container in [pod group name] dialog appears.

  3. In the Create container [pod group name] dialog, provide the required properties to create a container. For more details, see Step 3 in Create and Run Container for instructions.

    After creating a container in the pod group, the newly added container appears in pod group row of the Container table.