Subscribed unsubscribe Subscribe Subscribe

hasen's tech life

Twitter: @hasen

OSX(Yosemite)にSeagullを入れてみた.

Vagrant Docker Seagull

OSX(Yosemite)にSeagullを入れてみた.
Seagullを使うと,コンテナやイメージの状態をブラウザで確認できるらしい.

$ vagrant init BOX_NAME
$ vi Vagrantfile
-- # config.vm.network "private_network", ip: "192.168.33.10"
++ config.vm.network "private_network", ip: "192.168.33.10"
$ vagrant up
$ vagrant ssh
$ sudo yum update -y
$ sudo yum install -y wget httpd
$ sudo wget -P /etc/yum.repos.d http://www.hop5.in/yum/el6/hop5.repo
$ sudo yum install -y xz docker-io
$ sudo service httpd start
$ sudo service docker start
$ sudo service iptables stop
$ sudo chkconfig httpd on
$ sudo chkconfig docker on
$ sudo chkconfig iptables off
$ sudo docker run -d -p 192.168.33.10:10086:10086 -v /var/run/docker.sock:/var/run/docker.sock tobegit3hub/seagull
# ブラウザで192.168.33.10:10086を確認.

参考: DockerをWebブラウザで管理できる「Seagull」レビュー