Recap - Container Lifecycle
Part of the Introduction to Docker section of Coddy's Terminal journey — lesson 16 of 40.
Challenge
EasyWalk a container through its whole lifecycle. Run these commands one after the other:
- Start a detached
nginxcontainer namedproxy - Force-remove it with
rm -f(it is still running) - List all containers so you can confirm
proxyis gone
Try it yourself
Terminal
All lessons in Introduction to Docker
4Managing Containers
Naming ContainersDetached ContainersListing All ContainersStopping And RemovingRecap - Container Lifecycle