What does docker logs -f web do?
docker logs -f web
- Streams (follows) the web container’s logs in real time
- Deletes the web container and its data
- Restarts the web container in the background
- Lists the files inside the web container
docker logs -f tails and follows the container’s stdout/stderr live.
Play DevOps ▸