Docker is a platform and service-based product which utilizes the OS-level virtualization to deliver software in packages called containers. Containers are separated from one another and bundle their own software, libraries and configuration files. Docker is written in Go language. Docker can be installed in two versions of Docker CE(Community Edition) and Docker EE(Enterprise Edition). For small-scale projects, or for learning, we can use Docker CE.
Installing and Configuring Docker in Ubuntu
Step 1: Update Software Repositories using the following command on terminal
$ sudo apt update
Step 2: Install Docker using the following command
$ sudo apt install docker.io
Step 3: Setup Docker run at Startup. Docker service needs to be set up to run at startup.
$ sudo systemctl start docker
$ sudo systemctl enable docker
Step 4: Check Docker Version.
$ docker --version
- How to Install and Configure Fish Shell in Ubuntu?
- Installing and Configure vim Plugin in Ubuntu
- How to Install Chrome in Ubuntu?
- Configure Passwordless Sudo For A Specific User in Linux
- Keyboard Shortcuts for Ubuntu | Set - 1
- Get to know Ubuntu 18.04 LTS | Welcome Bionic Beaver!!
- Interesting Facts about Ubuntu
- How to setup cron jobs in Ubuntu
- Making an Alias to Shutdown Ubuntu
- How to mount windows drives in Ubuntu
- Creating and Configuring Wi-Fi Hotspot in Ubuntu
- install command in Linux with examples
- How to Install Katoolin on Linux Mint?
- Creating custom domain name instead of localhost in Ubuntu
- How to make sure that Apache service keeps running in Ubuntu
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.