前提
ホストOSであるMac上でVirtual Box経由でubuntuを立ち上げ、そこでDockerをinstallしようとしています。
わからないこと
Dockerのinstallを実施しておりますが、エラーが出力されました。原因を調査中ではありますが、答えにたどり着かないため、ご質問させていただきました。古いバージョンのubuntuを使用しているからかなあと思ったのですが、公式サイトではDockerの対応バージョンとしてbionicが記載ありでした。
-
Err:9 https://download.docker.com/linux/ubuntu/dists bionic Release
404 Not Found [IP: 99.86.199.6 443] -
E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file.
実行コマンド
Bash
1sudo add-apt-repository \ 2 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ 3 $(lsb_release -cs) \ 4 stable"
出力結果
Bash
1Hit:1 http://jp.archive.ubuntu.com/ubuntu bionic InRelease 2Hit:2 http://archive.ubuntulinux.jp/ubuntu bionic InRelease 3Get:3 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 4Hit:4 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease 5Get:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 6Ign:6 https://download.docker.com/linux/ubuntu/dists bionic InRelease 7Hit:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease 8Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 9Err:9 https://download.docker.com/linux/ubuntu/dists bionic Release 10 404 Not Found [IP: 99.86.199.6 443] 11Get:10 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [647 kB] 12Get:11 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [868 kB] 13Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [650 kB] 14Get:13 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [302 kB] 15Get:14 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB] 16Get:15 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [442 kB] 17Get:16 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [211 kB] 18Get:17 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB] 19Get:18 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB] 20Get:19 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.4 kB] 21Get:20 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23.8 kB] 22Get:21 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [6,528 B] 23Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [648 kB] 24Get:23 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] 25Get:24 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [617 kB] 26Get:25 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [218 kB] 27Get:26 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB] 28Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB] 29Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] 30Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB] 31Get:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [6,552 B] 32Get:31 http://jp.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [32.9 kB] 33Get:32 http://jp.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [8,468 B] 34Get:33 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,010 kB] 35Get:34 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,668 B] 36Get:35 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] 37Get:36 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,053 kB] 38Get:37 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [326 kB] 39Get:38 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] 40Get:39 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [209 kB] 41Get:40 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [479 kB] 42Get:41 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [9,908 B] 43Get:42 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [4,608 B] 44Get:43 http://jp.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B] 45Get:44 http://jp.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8,284 B] 46Reading package lists... Done 47E: The repository 'https://download.docker.com/linux/ubuntu/dists bionic Release' does not have a Release file. 48N: Updating from such a repository can't be done securely, and is therefore disabled by default. 49N: See apt-secure(8) manpage for repository creation and user configuration details.
Docker公式サイト
環境
- ホストOS: macOS Catalina 10.15.3
- ゲストOS: ubuntu 18.04.3 LTS (Bionic Beaver)
- 仮想化ソフト: VirtualBox 5.3.34
回答1件
あなたの回答
tips
プレビュー