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
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.