Docker¶
All the services in the server will be run through Docker. We'll need to first install this.
Installation¶
To install Docker, simply run the following commands:
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
Once it's done, you can remove the downloaded script:
rm get-docker.sh
Permissions¶
We'll add the required permissions for our user into the docker
group.
sudo groupadd docker
sudo gpasswd -a $USER docker
Finally, reboot the server for the changes to apply.