Skip to content

Instantly share code, notes, and snippets.

@v0lkan
Last active September 3, 2022 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v0lkan/537a8ed74b6e765b97323ff98c1a075a to your computer and use it in GitHub Desktop.
Save v0lkan/537a8ed74b6e765b97323ff98c1a075a to your computer and use it in GitHub Desktop.
Install Docker on EC2 Linux
# Install Docker:
sudo yum update
sudo yum search docker
sudo yum info docker
sudo yum install docker
# Start the docker daemon:
sudo systemctl start docker
# Check Docker’s status:
sudo systemctl status docker
# Outputs:
# ● docker.service - Docker Application Container Engine
# Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
# …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment