Start containers

When you run a container and then stop it without removing it, the container remains on your local system, ready to run again. You can use the podman start command to re-run the containers and can specify the containers by their container ID or name.

Before you begin

  • The container-tools meta-package is installed.
  • At least one container has been stopped.

Procedure

  1. Start the myubi container:
    • In the non interactive mode:
      $ podman start myubi
    • In the interactive mode, use -a (--attach) and -i (--interactive) options to work with container bash shell:
      $ podman start -a -i myubi
  2. Enter exit to exit the container and return to the host:
    [root@6ccffd0f6421 /]# exit

    For more information, see the podman-start(1) man page on your system.