さくらVPSのCentOSにDockerをインストール

最初間違えてdockerパッケージを入れてしまいましたが、本物はdocker-ioパッケージなんですねw

# yum install docker-io

一応サービスを登録しておきます。

# chkconfig --add docker
# /etc/init.d/docker start

動作確認。

# docker run -i -t centos /bin/bash
Unable to find image 'centos' locally
Pulling repository centos
1a7dc42f78ba: Pulling image (latest) from centos, endpoint: https://cdn-registry1a7dc42f78ba: Download complete
511136ea3c5a: Download complete
34e94e67e63a: Download complete
bash-4.2#

OKです。Windowsと比べると実に簡単ですね…。