āš™ļø

Environment Variables

Configuring containers at runtime

Step 1 of 3

Why Env Variables?

Environment variables let you configure containers without rebuilding the image. Use them for secrets, environment names, feature flags, etc.

bash
docker run -e NODE_ENV=production my-app
Host OS (Linux)Docker Enginedaemon | API | networking | volumesnginxnoderedispostgres