Uncategorized
How to install Docker in Amazon Linux 2?
Docker can be installed in Amazon Linux 2 by just running below command.
sudo yum install docker
# Add current user to the docker group
sudo usermod -aG docker $USER
# Restart docker service
sudo systemctl restart docker
Verify Docker is installed
# Terminate the session and login
docker ps
Install Docker Compose – v2.11.2
Reference: Install Docker Compose | Docker Documentation
sudo curl -L "https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Continue Reading
-
AWS3 years ago
How to install NodeJS in Amazon Linux 2
-
Infrastructure3 years ago
How to test CPU, Memory and File System Performance using Sysbench
-
AWS3 years ago
How to install .Net 6 in Amazon Linux 2
-
Infrastructure3 years ago
How to get Linux OS Information using uname command
-
Infrastructure3 years ago
How to reproduce CVE-2021-44228 (Log4J vulnerability), patch it, and validate the fix
-
Uncategorized3 years ago
Everything, Everywhere, All At Once
-
Linux3 years ago
How to install git in Amazon Linux 2
-
Infrastructure3 years ago
Getting started with Terraform CDK and TypeScript