The right way to set up Docker on Linux


On this TechRepublic The right way to Make Tech Work video, Jack Wallen reveals you find out how to set up Docker on Linux machines.

Should you’re anxious to start out your journey with Docker, you won’t wish to spend the time getting the runtime engine able to go on Linux. Should you’re not acquainted with the working system, it may be formidable to kind all of these instructions. Luckily, there’s a easy script you should use to put in the Docker engine, and it solely requires a number of easy instructions. Let me present you find out how to do it.

This course of ought to work on most Linux distributions, however you will want a person with sudo privileges. How do you pull this off? Let me present you.

  1. Log into your Linux machine, and obtain the required script with the command curl -fsSL https://get.docker.com -o install-docker.sh.
  2. Subsequent, give the brand new script executable permissions with chmod u+x install-docker.sh. Run the script with the command sudo ./install-docker.sh. This may set up all the vital dependencies in addition to the Docker runtime engine in your machine.
  3. The very last thing you have to do is add your person to the Docker group with the command sudo usermod -aG docker $USER.

Log off and log again in, and Docker is able to go. Now you can pull your first picture and deploy your first container.

Docker doesn’t need to be a problem from the bounce. Use this straightforward technique to put in Docker, and also you’ll be up and working very quickly.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise professionals from Jack Wallen.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles