Introduction to Docker
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 Free4 hours11 videos43 exercises19,389 learnersStatement of Accomplishment
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?
Try DataCamp For BusinessLoved 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. 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.
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and moreIn the following Tracks
Containerization and Virtualization with Docker and Kubernetes
Go To TrackMachine Learning Engineer
Go To TrackProfessional Data Engineer in Python
Go To Track- 1
Using Docker Containers
FreeYou'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. All of this is done using the Docker Command Line Interface.
Running Docker containers50 xpRunning your first container100 xpRunning a container in the background100 xpAn interactive container50 xpWorking with Docker containers50 xpHelping a colleague100 xpCleaning up containers100 xpManaging local docker images50 xpPulling your first image100 xpPulling a specific tag100 xpCleaning up images100 xp - 2
Writing Your Own Docker Images
Once you are able to manage images and containers, it's time to know how to share images with colleagues or your entire company and to understand how to create your own. Now, 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.
Distributing Docker Images50 xpSharing your work using a Docker registry100 xpSaving an image to a file100 xpReceiving Docker Images100 xpCreating your own Docker images50 xpBuilding your first image100 xpWorking in the command-line100 xpEditing a Dockerfile100 xpCreating your own Dockerfile100 xpManaging files in your image50 xpCopying files into an image100 xpCopying folders100 xpWorking with downloaded files100 xpChoosing a start command for your Docker image50 xpOverriding the default command50 xpPulling a specific tag100 xpAdding a CMD100 xp - 3
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.
Introduction to Docker caching50 xpDocker caching50 xpOrdering Dockerfile instructions100 xpChanging users and working directory50 xpWORKDIR and USER50 xpSetting the user100 xpSetting the working directory100 xpVariables in Dockerfiles50 xpUnderstanding ARG and ENV50 xpOverriding ARG in a build100 xpChanging behavior when starting a container100 xpCreating Secure Docker Images50 xpSecurity best practices50 xpKeeping packages up-to-date50 xpBe safe, don't use root100 xp
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and moreIn the following Tracks
Containerization and Virtualization with Docker and Kubernetes
Go To TrackMachine Learning Engineer
Go To TrackProfessional Data Engineer in Python
Go To Trackcollaborators
Tim Sangster
See MoreFull 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.
FAQs
Join over 14 million learners and start Introduction to Docker today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.