In this module, we will be seeing the different commanding techniques that can be used to work with the containers. We will check on how to start and stop a container, and to run them interactively or even in the background.

Step 1 Running an Image in the Interactive Mode

Note

Replace the number 13 with the first two values of your image host ID.

Step 2 Naming your Containers

Step 3 Removing a running container

Step 4 Running a custom container Image in a detached mode

Step 5 Interfacing with container after starting them

Step 6 Getting information about the container

You need to replace it with the first two letters of your container ID or complete name. This is how we can work with our containers in different manners.