This video dives into logging options in Docker-based environments, covering the core "docker logs" command and all the options available for the command.
We also look at Docker log drivers, with a focus on the default 'json-file' driver, as well as how to configure the logging driver and options via Docker's daemon.json file.
Finally, we also look at high-level logging strategies for Docker services/apps, exploring the pros & cons of different strategies.
► RELATED GUIDES
Logging in Docker - Everything You Need to Know
betterstack.com/community/gui...
How to View and Configure NGINX Access & Error Logs betterstack.com/community/gui...
► READ MORE
More about Better Stack: betterstack.com/
Community pages: betterstack.com/community/
► STAY TUNED
GitHub: github.com/BetterStackHQ
Twitter: / betterstackhq
LinkedIn: / betterstack
Instagram: / betterstackhq
TikTok: / betterstack
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:49 Pulling nginx docker image
04:23 Viewing nginx logs in docker container with docker logs command
09:15 docker logs options
12:57 Docker Log Drivers
16:36 Configuring log options in Docker with daemon.json
20:56 Logging strategies in Docker
#logging #docker
30 июн 2024