This can be handy to transition into using containers or switch into using Kubernetes.
Hit the subscribe button to receive more videos like this!
REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/docker...
► https://github.com/nickjj/docker-flas...
► https://github.com/moby/moby/issues/1... (Avoid using .dockerenv)
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
► https://nickjanetakis.com/courses/
THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...
FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: / nickjanetakis
► GitHub: https://github.com/nickjj
TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:41 -- Detect if your app is running in Docker
2:50 -- Modify your app to check for the env variable
4:03 -- Check if your app is running in Docker or Kubernetes
6:08 -- Using an entrypoint script to detect the env environment variable
8:34 -- Setting up Kubernetes locally