Hands-on task
This task is step 4 of the course “Docker from scratch”
Stop, start, restart
There are three containers on the server: web, cache and worker. Do the following:
- stop
cachewithout removing it; workeris stopped right now — start it again;- restart
web.
Don't recreate the containers: it has to be these exact ones.
What you'll practise:
- docker stop
- docker start
- docker restart