Skip to main content

Introduction to Docker

4.3+
31 reviews
Intermediate

Gain an introduction to Docker and discover its importance in the data professional’s toolkit. Learn about Docker containers, images, and more.

Start Course for Free
4 Hours15 Videos56 Exercises
11,726 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

Docker is a tool used to develop, run, and ship containers. It’s an essential part of every data professional’s toolbelt, helping to create robust, secure, and scalable applications or workflows. In this course, you’ll become a Docker pro, gaining hands-on experience using Docker CLI. Learn the Docker basics and understand how to create and manage containers using Dockerfiles and instructions. After an introduction to containers and when they are useful, you’ll learn the Docker terminology and get hands-on experience with Docker commands using the Docker Command Line Interface. As you progress, you’ll learn how to create and manage Docker containers using Dockerfiles and Dockerfile instructions. To wrap up, you’ll learn Docker image security best practices to make your images safe and secure.
  1. 1

    What is Docker?

    Free

    You’ll start this course with an introduction to containers, what they are, their uses, and their advantages. You'll learn about Docker Engine, Docker’s tool to create, run and manage containers. Then you’ll learn the difference between a container and an image and compare containers and virtual machines, learning about their differences.

    Play Chapter Now
    Containers and their advantages
    50 xp
    What is included in a container?
    50 xp
    Advantages of containers
    100 xp
    The Docker Engine
    50 xp
    Which parts does the Docker Engine consist of?
    50 xp
    Containers and images
    50 xp
    Containers are like processes
    100 xp
    Containers vs. Virtual Machines
    50 xp
    What is virtualization?
    50 xp
    How do containers and virtual machines relate?
    50 xp
    Pick the right properties
    100 xp
  2. 2

    Using Docker Containers

    In chapter 2, you'll go from starting and stopping your first container to seeing how to clean your environment by removing all containers and images. You'll see how to debug issues by running commands inside a container or executing bash commands in a container interactively. Afterward, you'll know how to share images with colleagues or your entire company. All of this using the Docker Command Line Interface.

    Play Chapter Now
  3. 3

    Writing Your Own Docker Images

    Once you are able to manage images and containers, it’s time to create your own. In chapter 3, you’ll build your own images using Dockerfiles. Dockerfiles are text files that include everything needed for Docker to build an image. You’ll learn how to create images and will get an introduction to all the essential Dockerfile instructions like FROM, RUN, COPY, and more. By the end of this chapter, you’ll have insight into how Docker makes images and be able to create optimized Docker images from scratch.

    Play Chapter Now
  4. 4

    Creating Secure Docker Images

    In this final chapter, you’ll focus on making your Dockerfiles configurable and secure. You'll learn how to make your Dockerfiles configurable using the ARG and ENV instructions. You’ll see why changing the user in your images makes them more secure and how to use the USER Dockerfile instruction to do so. To wrap things up, you’ll learn about some essential security best practices when creating Docker Images.

    Play Chapter Now

In the following tracks

Machine Learning Engineer

Collaborators

Collaborator's avatar
Izzy Weber
Collaborator's avatar
Iason Prassides
Collaborator's avatar
Arne Warnke
Tim Sangster HeadshotTim Sangster

Full Stack Software Engineer

Tim is a Full Stack Software Engineer at DataCamp. Tim leads the Content Platform team, enabling new technologies on the platform and building the software that lets instructors create great DataCamp courses. Tim holds a degree in Electrical Engineering.
See More

Don’t just take our word for it

*4.3
from 31 reviews
55%
29%
13%
3%
0%
Sort by
  • Oleksiy L.
    4 months

    Dear Team of Datacamp, I am thankful for the free week of courses !😊🤸‍:male_sign:✋‍:male_sign: An introductory course of Tim Sangster dedicated to Docker, a form of virtualization, is incredible by explanation and its content. I do LIKE Your platform for the possibility to Read information like from a book, to Watch video materials like I am at some university lecture, and to Get HANDS ON Experience through work with different User Agents like Linux terminals, DB clients and other tools (accessible via web UI) ! Besides passing courses, there is also the "Practice" zone where You can test and challenge yourself on an daily basis. I would like also mention the excellent UI of Your platform in terms of interaction with it and color schemes You apply. Let All Your ideas and plans COME TRUE ✋‍:male_sign:👍 Best regards, Oleksiy!

  • Seyedhossein P.
    4 months

    Excellent

  • Kehinde J.
    7 months

    Few courses come close to providing as many labs and quizzes that this course provided. If a firm docker foundation is your desire, this is your course right here

  • Jose H.
    8 months

    Very complete introduction to dockee

  • Younes B.
    8 months

    Great intro to docker

"Excellent"

Seyedhossein P.

"Few courses come close to providing as many labs and quizzes that this course provided. If a firm docker foundation is your desire, this is your course right here"

Kehinde J.

"Very complete introduction to dockee"

Jose H.

FAQs

Join over 13 million learners and start Introduction to Docker today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.