LoginSignup
2

More than 5 years have passed since last update.

windows10 virtualbox centOS7 でdockerをインストールする

Posted at

前提
virtulboxインストールがされていること
Tera Termがインストールされていること
centOSの仮想環境が作られていること

こちらを参考に設定してTera TermでcentOSの中に入る。

山崎屋の技術メモ VirtualBox に入れた CentOS のネットワーク設定

// とりあえずアップデート
yum update -y

// dockerインストール
curl -sSL https://get.docker.com/ | sh

// dockerスタート
systemctl start docker

私はここで、次のエラーが出ましたが、エラーと同時に鍵が作成されたらしく、

warning: /var/cache/yum/x86_64/7/docker-ce-edge/packages/docker-ce-18.06.0.ce-3.
docker-ce-18.06.0.ce-3.el7.x86_64.rpm の公開鍵がインストールされていません

再度dockerをインストールしましたら起動しました。

curl -sSL https://get.docker.com/ | sh
systemctl start docker

参考にさせていただきました。
ありがとうございました。

めもたんす CentOS7へのDockerのインストール

山崎屋の技術メモ VirtualBox に入れた CentOS のネットワーク設定

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
2