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?

Ubuntuでdockerをインストールするとき困ったこと

Posted at

下記の文を参考にUbuntuでスクレイピング環境を構築中で、困ったことがあったので補足します。

対象はこちらです。

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

対策

  1. GPGキーダウンロード
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

  1. DockerのAPTリポジトリを/etc/apt/sources.list.d/docker.listに追加
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  1. パッケージアップデート、インストール
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io
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?