ubuntuにdockerをインストール
ubuntuのdockerはバージョンが古すぎるので、dockerの公式からインストール
インストール
$ sudo apt-get update
$ curl -sSL https://get.docker.com/ | sh
dockerのサービス起動
$ sudo service docker start
hello world
の実行
$ sudo docker run hello-world
ubuntuのdockerはバージョンが古すぎるので、dockerの公式からインストール
インストール
$ sudo apt-get update
$ curl -sSL https://get.docker.com/ | sh
dockerのサービス起動
$ sudo service docker start
hello world
の実行
$ sudo docker run hello-world