# Amazon Linux 2023 Packages [TOC] ## AWS CLI version 2 ```shell sudo dnf update && sudo dnf install -qy awscli-2 ``` ## Docker Engine ```shell sudo dnf update && sudo dnf install -qy dnf-plugins-core ``` ```shell sudo dnf config-manager --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo ``` ```shell sudo sed -i 's/$releasever/41/g' /etc/yum.repos.d/docker-ce.repo ``` ```shell sudo dnf update && sudo dnf install -qy \ docker-ce \ docker-ce-cli \ containerd.io \ docker-buildx-plugin \ docker-compose-plugin ``` ## Manage as a non-root user ```shell sudo groupadd docker ``` ```shell sudo usermod -aG docker $USER ``` ```shell sudo newgrp docker ``` ```shell docker run hello-world ``` ## Start on boot with `systemd` ```shell sudo systemctl enable docker.service && sudo systemctl enable containerd.service ```
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.