Install Docker

This whole project is all using a Docker platform environment. Docker is a product that uses OS-level virtualization to deliver software in packages called containers. Basically, Docker allows developers to isolate their app from its environment which means it allows our app to work in different machines.

  1. Install the following prerequisites

sudo apt-get install apt-transport-https ca-certificates software-properties-common -y

2. Download and install Docker

curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

3. Add the Docker group if it doesn't already exist

sudo groupadd docker

4. Add the connected "$USER" to the docker group

sudo gpasswd -a $USER docker

5. To test, try this:

docker run hello-world

Last updated