web, worker and cache exist on pier. cache was stopped earlier. Put each one in the right state.
See the current state:
Stop the worker. It runs sleep, which ignores SIGTERM, so the stop takes the full timeout:
sh
docker stop worker
docker ps -a --filter name=workerStart the existing cache container:
sh
docker start cacheRestart the web server and confirm that the file created in it earlier is still there:
sh
docker restart web
docker exec web cat /usr/share/nginx/html/build.txtdocker exec runs a command inside a running container. Lesson 6 covers it.