Docker Environment Setup¶
Install Docker Engine¶
Follow the instructions below to install Docker Engine CE:
Navigate to the Docker scripts directory on the server:
cd ~/scripts/environment/docker
Invoke the Docker installation script:
./install_docker.sh
Install Docker Compose¶
Follow the instructions below to install Docker Compose:
Navigate to the docker-compose scripts directory on the server:
cd ~/scripts/environment/docker/compose
Invoke the docker-compose installation script:
./install_docker_compose.sh
Install Docker Registry¶
Note
If you have Let’s Encrypt SSL Set Up, please update the ssl section in the ~/scripts/environment/docker/registry/registry.conf to the following specifications:
ssl on; ssl_certificate /etc/letsencrypt/live/cloud.reportingtool.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/cloud.reportingtool.org/privkey.pem;
(assuming of course that the system’s domain is: cloud.reportingtool.org)
Follow the instructions below to install Docker Registry:
Navigate to the docker-registry scripts directory on the server:
cd ~/scripts/environment/docker/registry
Invoke the docker-registry installation script:
./install_docker_registry.sh