Docker Quick Start
Community Architect in Community
Although we offer a comprehensive Deep Dive course on Docker, we know that sometimes you just need a Quick Start on a topic to get started. This course is an update to our Docker Quick Start course. It's designed to give you just what you need to know to get up and running with Docker!
Download the Interactive Diagram here: https://interactive.linuxacademy.com/diagrams/DockerQuickStart.html
Docker Quick Start
In this course, we will discuss basic Docker concepts, including base images, Dockerfiles, and containers. However, this course is not a Deep Dive. In this Quick Start course, we will focus on getting you up and running with your own Docker environment.
Installation and Configuration: Linux — Part 1
In this video, we will discuss how to install Docker in a Linux environment. We're going to install Docker on a CentOS server, but the steps for installation on Ubuntu are essentially the same. For Ubuntu installation instructions, go here: https://github.com/linuxacademy/content-container-essentials-101presentation/blob/master/Docker_Install_Ubuntu.md
Installation and Configuration: Linux — Part 2
Docker Hub Basics
In this video, we will discuss what the Docker Hub is and go over the differences between repositories and registries. We will walk through how to create our own Docker Hub account and create our first Docker Hub registry. By the end of this video, you should feel comfortable navigating through the Docker Hub GUI. Additional information about official registries: https://docs.docker.com/docker-hub/official_repos/#how-do-i-create-a-new-official-repository
In this video, we will discuss what Docker images are and how we can use them. This video ties into the next lesson, in which we will tackle creating a Docker image.
In this video, we will discuss Dockerfiles and create the "Get Started Image" that we discussed in the Docker Images video lesson. Dockerfile best practices can be found at: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#pipe-dockerfile-through-stdin
In this video, we will learn how to create a container and connect to it so we can see some real-world use cases for Docker. This video will lay the foundation for upcoming lessons on the container lifecycle.
The Container Lifecycle
In this lesson, we'll talk about how to create, start, and stop containers, as well as how to connect to an already running container. The GitHub repositories mentioned in this video are: https://github.com/moby/moby and https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go
Image and Container Management
We now know how to pull and install images and instantiate containers. Removing them is equally important, but there are some caveats. Let's talk about what we need to know!
Redirection: Docker Container Ports
In this video, we will learn about Docker ports. While we will discuss Docker specifically, the concepts we'll learn in this lesson apply to every container technology. By exposing ports, we can create internal connections to locally hosted applications and then, when we're ready, publish those ports to make the connection available to the outside world. Note: if any rpms, such as elinks, need to be installed, use 'yum install $rpm_name' to install it.
Redirection: Docker Container Volumes
In this video, we will go over how to create and use Docker volumes. We will also discuss their ability to persist data outside of the container lifecycle. We will be making use of two seprate arguments: -v and --mount. Additional documentation for these options can be fond through the Docker Docs. More explanation on Docker containers and volumes can be found in the Docker Overview.
Choose Your Own Adventure: Where Do I Go from Here?
You did it! You completed the Docker Quick Start course. Now what? In this video, we will talk about where you can go from here.
Take this course and learn a new skill today.
Transform your learning with our all access plan.Start 7-Day Free Trial