Deploying containers
Launch a t3a.medium
EC2 instance with Amazon, Linux, and either SSH connectivity or a systems manager role for connectivity.
Use the following commands to install Docker:
sudo yum install docker -y sudo usermod -a -G docker ec2-user newgrp docker
This command is used to enable the Docker service so that we can start it with the next command:
sudo systemctl enable docker.service
This command is used to start the Docker service:
sudo systemctl start docker.service
This command will search the public Docker repository for any containers named or labeled GDAL:
sudo docker search gdal
This results in the following output:
Figure 8.2: GDAL output
This command will pull down the GDAL container from the Docker public container registry so we can run it locally on our machine:
Sudo docker pull osgeo/gdal
Figure 8.3: Installing GDAL
This command will show the Docker container images...