Skip to content

Instantly share code, notes, and snippets.

@diogojpb
diogojpb / install-docker.md
Created September 30, 2021 10:07 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start

Keybase proof

I hereby claim:

  • I am diogojpb on github.
  • I am diogojpb (https://keybase.io/diogojpb) on keybase.
  • I have a public key ASBEoeUjYC0ub2Zkaix6BA9lAhKmV_MghNFGFsAIT6Jzswo

To claim this, I am signing this object:

@diogojpb
diogojpb / hp-omen-gtx1050ti-ubuntu-19.04.md
Created August 27, 2019 23:23
Resolvendo o problema de tela congelada na instalação do Ubuntu 19.04 e aumentando a duração da btaeria quando não houver necessidade de utilização da GPU Nvidia