Install
Step 1: Install AWS CLI and Docker
As a pre-requisite you will need the AWS CLI installed to pull the Docker images from AWS ECR.
AWS CLI Installation
To install the AWS CLI on your host OS use the Install instructions.
AWS Configure
Make sure you have the AWS Access Key ID and the AWS Secret Access Key before proceeding. Contact Support for these details.
After you have the key and secret handy, run this command:
aws configureto quickly set and view your credentials, Region, and output format. The following example shows sample values.
$ aws configure
AWS Access Key ID [None]: 'Access ID provided by Daecos Support'
AWS Secret Access Key [None]: 'Secret provided by Daecos Support'
Default region name [None]: us-east-1
Default output format [None]: jsonAWS Login to ECR
Once you have installed the AWS CLI use the following command to login to AWS ECR.
aws ecr get-login-password \
--region us-east-1 | \
docker login --username AWS \
--password-stdin 713377909722.dkr.ecr.us-east-1.amazonaws.comDocker on Windows
Docker Desktop for Windows
- Download Docker Desktop from https://www.docker.com/products/docker-desktop/
- Run the installer and follow the setup wizard
- Restart your computer when prompted
- Launch Docker Desktop from the Start menu
- Complete the initial setup and sign in (optional)
System Requirements for Windows
- Windows 10 64-bit: Pro, Enterprise, or Education (Build 19041 or higher)
- Windows 11 64-bit
- WSL 2 feature enabled
- Hyper-V and Containers Windows features enabled
Docker on macOS
Docker Desktop for macOS
- Download Docker Desktop from https://www.docker.com/products/docker-desktop/
- Open the downloaded
.dmgfile - Drag Docker to your Applications folder
- Launch Docker from Applications
- Grant necessary permissions when prompted
System Requirements for macOS
- macOS 10.15 or newer
- Apple chip (M1/M2) or Intel processor
- At least 4GB RAM
Docker on Linux
Debian
# Update package index
sudo apt-get update
# Install required packages
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release
# Add Docker's official GPG key
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Add Docker repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update package index again
sudo apt-get update
# Install Docker Engine
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
# Install docker-compose
sudo apt-get install docker-compose
# Add your user to docker group (optional, to run without sudo)
sudo usermod -aG docker $USER
# Log out and back in for group changes to take effectCentOS
# Install required packages
sudo yum install -y yum-utils
# Add Docker repository
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# Install Docker Engine
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
# Install Docker Compose
sudo yum install docker-compose
# Start and enable Docker service
sudo systemctl start docker
sudo systemctl enable docker
# Add your user to docker group (optional)
sudo usermod -aG docker $USER