Table of Contents
1 docker-engineをインストールする
以下のスクリプトを実行します。
#!/bin/shsudo apt-get install -y curl apt-transport-https software-properties-common ca-certificatescurl -fsSL | sudo apt-key add -sudo add-apt-repository “deb debian-$(lsb_release -cs) main”sudo apt-get update -ysudo apt-get install -y docker-enginesudo systemctl start dockersudo systemctl enable dockersudo gpasswd -a hiroom2 dockersudo reboot
2 動作確認
hello-worldを実行します。
$ docker run hello-world<snip>Hello from Docker!<snip>