Docker Environment Configs, Variables, and Entrypoints
Download MP3I go through the multiple ways to get your environment variables into a container, and what shouldn't go into your ENV's.
😇 My new GitHub Security workshop has launched! A free 2-hour workshop with hands-on labs to harden your repos and your workflows from common supply chain attacks. I'll cover how attackers are getting in, and then we'll lock down a sample repo so you know what needs to be done to protect your code. You'll leave with a deep understanding of risks and mitigations as well as a list of helpful tools to keep your repos safe, including my new "gasa" tool for scanning your repos and orgs.
I go through the multiple ways to get your environment variables into a container, and what shouldn't go into your ENV's.
★Show Links★
★Show Links★
- Twelve Factor Apps: The Config
- Sample PHP Dockerfile with lots of ENV
- Those Same ENV's overwritten with docker-compose.yml
- Simple example of using Docker ENV's to create custom app config
- Docker MySQL Official Image Entrypoint Script that creates ENV's from files (for secrets)
- 3 Docker Compose Features for Improving Team Development Workflow
You can also support this podcast by subscribing to my YouTube channel and my monthly newsletter at bret.news!
Grab the best coupons for my GitHub, Agents, Docker, and Kubernetes courses.
Join my cloud native DevOps community on Discord.
Grab some merch at Bret's Loot Box
Homepage bretfisher.com
Grab the best coupons for my GitHub, Agents, Docker, and Kubernetes courses.
Join my cloud native DevOps community on Discord.
Grab some merch at Bret's Loot Box
Homepage bretfisher.com
Creators and Guests
Host
Bret Fisher
Cloud native DevOps Dude. Course creator, YouTuber, Podcaster. Docker Captain and CNCF Ambassador. People person who spends too much time in front of a computer.
Producer
Beth Fisher
Producer of the DevOps and Docker Talk and Agentic DevOps podcasts. Assistant producer on Bret Fisher Live show on YouTube. Business and proposal writer by trade.
