0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Amazon Linux2でDockerをインストールする方法が2種類ある

Last updated at Posted at 2020-03-27

amazon-linux-extrasでインストールすると19.03.13-ceがインストールされる(2021/01/09現在)
yumでインストールすると19.03.13-ceがインストールされる(2021/01/09現在)

amazon-linux-extrasの場合のインストール方法

sudo amazon-linux-extras install -y docker

docker -v

# 実行結果
Docker version 19.03.13-ce, build 4484c46

yumの場合のインストール方法

sudo yum install -y docker

docker -v

# 実行結果
Docker version 19.03.13-ce, build 4484c46
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?