Rename, Pause, Stop, or Restart Container

Use the Podman page in the Cockpit web console to rename a container or change its operating state.

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 containers or pod groups must already exist in the Container table. For information on how to create a container or a pod group, see Create and Run Container or Create a Pod Group.
  • Administrators and root users can access and change all containers. Users with limited access privileges can access and change only the containers they created.

Steps

Using the Cockpit web console, follow these steps to rename a container or change the state of a container.

  1. In the Cockpit navigation pane, click Podman.

    The Podman page appears.

  2. In the Podman page, navigate to the Container table.
  3. In the Container table, find the container row of interest and then click the actions [] menu in that same row and select one of the following:
    • Rename. The Rename dialog appears enabling you to rename the container.

      -OR-

    • Start, Stop, Restart, or Pause. Select one of the applicable actions to change the current operating state of the container.