Containers are just processes that run in an isolated manner on the Docker host. All the features or properties required for the process to run may be tweaked on container creation.
Main container actions
Containers can be created, executed, and stopped when required. The following table will introduce the main container actions for this workflow:
create |
Because containers are Docker objects, we can create them. When we create a container, we configure how this container will work, without starting it. This stage will prepare a container and we can review its static configuration using inspect. Any dynamic configuration will not be present because the container is not running yet. |
start |
Once the container has been created, it can be started using start. This means that the container-defined process will be executed with the configured isolation (memory, CPU, networking, and so on) and the external resources that are required. Once the container is started... |