From the course: Kubernetes: Provisioning for Infrastructure as Code

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Install Docker on Linux

Install Docker on Linux

- [Instructor] Let's learn how to install Docker on Linux. Earlier we learned that Docker's designed to work natively with Linux. As a result, we do not need to install Docker desktop. Instead, we'll be installing the Docker engine and the Docker command line client. While I'll be using Ubuntu for this video, these instructions should be more or less the same on other distributions. Visit the docs at https://docs.docker.io to learn more about specific differences for your distro. Installing Docker on Linux is really, really easy. First, ensure that you have Curl installed by running Sudo apt install curl. You might be asked for your password, so enter it when prompted. Next, we're going to download Docker's installation script and save it into slash tmp slash get hyphen Docker dot sh. Let's clear the screen to make some space. To do that, I'm going to press Ctrl A to go to the beginning of this command. Then I'm going to…

Contents