Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

個人で使ってみた Docker と CoreOSとか

個人で使ってみた Docker と CoreOSとか

7/11社内勉強会の資料 by hoshinotsuyoshi at feedforce
http://tech.feedforce.jp/docker_coreos.html
図らずもCentos7もdemoで使ってみた

hoshino tsuyoshi

July 17, 2014
Tweet

More Decks by hoshino tsuyoshi

Other Decks in Programming

Transcript

  1. !!!

  2. $"vi"Vagrantfile Vagrant.configure('2') do |config| config.vm.box = "hfm4/centos7" config.vm.network :private_network, ip:

    "192.168.100.101" config.vm.network :forwarded_port, guest: 10080, host: 10080 end
  3. [Unit] Description=Actress Service After=docker.service Requires=docker.service [Service] User=root ExecStart=/bin/sh -c \

    "/usr/bin/docker run --name actress -p 10081:3000 hoshinotsuyoshi/actress" ExecStop=/usr/bin/docker rm -f actress [Install] WantedBy=local.target
  4. [Service] [Service] User=root ExecStart=/bin/sh -c \ "/usr/bin/docker run --name actress

    -p 10081:3000 hoshinotsuyoshi/actress" ExecStop=/usr/bin/docker rm -f actress