6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Dockerの簡易スタートアップ

Last updated at Posted at 2015-06-07

#Dcokerを簡単にやってみよう
dockerを始めたいが、いきなりHostOSに入れるのはいろいろややこしいので、vitrualbox上の仮想OSで実行する想定。

##事前作業
virtual boxをインストール
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html?ssSourceSiteId=otnjp

##boo2dockerを取得
https://github.com/boot2docker/boot2docker-cli/releases
各OS毎に実行ファイルをダウンロード

boot2docker-v1.6.2-darwin-amd64
→mac用
boot2docker-v1.6.2-linux-amd64
→linux用
boot2docker-v1.6.2-windows-amd64.exe
→Windos用

##起動例(linuxの場合)

chmod +x boot2docker-v1.6.2-linux-amd64 
./boot2docker-v1.6.2-linux-amd64 init
./boot2docker-v1.6.2-linux-amd64 up
./boot2docker-v1.6.2-linux-amd64 ssh

##動かない場合
→BIOSの仮想化機能onにする。
 http://qiita.com/kmats@github/items/a2396aa5b6f397d447b8
 →virtualboxの設定をいじる(32bitの場合)
  http://qiita.com/hidekuro/items/fc12344d36d996198e96#4-4
→あきらめろん
  ⇒あきらめなかった!2017年11月28日更新

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?