@TechnoTim
  @TechnoTim
Techno Tim | Build YOUR OWN Dockerfile, Image, and Container - Docker Tutorial @TechnoTim | Uploaded February 2022 | Updated October 2024, 4 hours ago.
We spin up all types of containers on my channel in my tutorials but we have yet to build our own custom Docker container image. Today we'll start from scratch with an empty Dockerfile and create, build, and run our very own custom Docker image! We'll learn all the commands that everyone should know when building and maintaining images with Docker. This Docker tutorial is a great way to get started with Docker!

Video Notes: https://technotim.live/posts/custom-docker-image/

Support me on Patreon: patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: twitch.tv/technotim
Become a YouTube member: youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop 🛍️: https://l.technotim.live/shop
Gear Recommendations: https://l.technotim.live/gear
Get Help in Our Discord Community: https://l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks

(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)

00:00 - What is Docker?
00:27 - What is a Container?
01:00 - What is an Image?
01:18 - What are we doing Today?
01:47 - It all starts with a Dockerfile - FROM
03:20 - Environment Variables - ENV
03:51 - COPY Command
04:20 - Source files
05:57 - COPY command destination
06:39 - EXPOSE (You don't need this)
07:17 - CMD Entry point
08:13 - How to Build a Docker image
09:16 - Building image with a tag
09:47 - How create a container
10:47 - See our container running
11:23 - Stopping and starting containers
12:10 - Cleaning up containers and images
12:33 - Dockerignore files (how to ignore files)
13:51 - Docker exec into a container
15:23 - Add file to dockerignore file
16:50 - Other base images
17:52 - Stream Highlight - "Traefik is a series of tubes"

#Docker #DockerContainers #Containerization

"Switchstep" is from Harris Heller's album Insomnia.
https://l.technotim.live/sb-music-license

Thank you for watching!
Build YOUR OWN Dockerfile, Image, and Container - Docker TutorialHow to Upgrade FreeNAS to TrueNASI Freed Up 700GB+ Converting my Videos Using TdarrBridge Mode with UniFi Access PointsBuilding a Raspberry Pi Cluster #rpi #raspberrypi #homelabHIGH AVAILABILITY k3s (Kubernetes) in minutes!The EASIEST way to Expand Your ZFS Pool in TrueNAS (But is it the Best?)Lets Play Dead Cells [Full Release] - PC Game-play Part 1Building a Low-Power, Fully Loaded Plex ServerEssential HomeLab Tools & Accessories - Network / Server / PC Tool KitHow HomeLabs get started #shorts #homelab #nas #storage #tech #technotimFINALLY!  A New UniFi Dream Machine! - UDM Pro Max

Build YOUR OWN Dockerfile, Image, and Container - Docker Tutorial @TechnoTim

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER