1.2.1 - Introduction to Docker
Last updated Jan 22, 2025
Last updated
Last updated Jan 22, 2025
Last updated
Youtube Video | ~24 min
To work through this video you will need Docker ๐ downloaded, a terminal window โช๏ธ, and a code editor ๐ of choice (Pycharm for me). Please see the 'Introduction' section if you need more info.
โ๏ธ In this video, we learn about what Docker is, get a pipeline overview, and learn about Docker container and Docker image. Then we work through an example of how to build an image with Docker.
โ๏ธ There is a supplemental video for those working on WSL found here: https://www.youtube.com/watch?v=Mv4zFm2AwzQ&list=PL3MmuxUbc_hJed7dXYoJw8DoCuVHhGEQb&index=17
"Docker helps developers build, share, run, and verify applications anywhere โ without tedious environment configuration or management." - https://www.docker.com/
Example code you want to deploy
๐ Create a new 'Dockerfile' in your code editor. I recommend adding the Docker 'plug in' to your editor.
๐ https://docs.docker.com/reference/dockerfile/ - Dockerfile Instruction options i.e. 'FROM', 'RUN', etc.
๐ Note we will continue to build on this topic. We still need to talk about running containers, stopping containers, and viewing the front end of our containers.
๐งน Cleaning - be sure to open Docker Desktop and delete testing examples of your containers and images to free up space
My repo for this video can be found here
๐ https://docs.docker.com/get-started/docker-overview/
๐ https://github.com/HangenYuu/docker-cheatsheet
๐ I recommend working through the Docker site Intro & workshop if you're still confused on what Docker is