WockerDocker-based rapid development
environment of WordPress.
@WordBench Osaka No. 41
- Facebook: kite.koga
- Twitter: @ixkaito
- GitHub: @ixkaito
Kite
What Do I Do?
- Designer
- Programmer
- WordBench Osaka moderator
- WordCamp Kansai 2015 organizer
- WordPress core contri...
What is Wocker?
Docker-based rapid development environment of
WordPress.
Docker ベースの高速 WordPress 開発環境
How Fast?
IT TAKES JUST 3 SECONDS TO CREATE A NEW
WORDPRESS ENVIRONMENT!
WordPress の新しい環境を作るのにたった3秒!
What is Docker?
How is this different
from Virtual Machines?
Virtual
Machines
Hypervisor
App A App B
Bins/Libs Bins/Libs
Guest OS Guest OS
Host OS
Server
}Each virtualized application...
Docker
Docker Engine
App A App B
Bins/Libs Bins/Libs
Host OS
Server
} The Docker Engine container
comprises just the appli...
Virtual Machines
Hypervisor
App A App B
Bins/Libs Bins/Libs
Guest OS Guest OS
Host OS
Server
Docker Engine
App A App B
Bin...
Wocker
Container
(Docker
Container)
Wocker
Container
(Docker
Container)
Wocker
Container
(Docker
Container)
Wocker Overvie...
Documentation
http://wckr.github.io/
Get Started with
Wocker
1. Install Vagrant
2. Install VirtualBox
3. vagrant-hostsupdater
Install the vagrant-hostsupdater plugin
Vagrant のプラグイン vagrant-hostsupdater をイ
ンストール
$ vagrant plu...
4. Clone the Repo
Clone the Wocker Repository
Wocker リポジトリをクローン
$ git clone https://github.com/wckr/wocker.git && cd wocker
5. Vagrant Up
Start up Wocker
Wocker を起動
$ vagrant up
Best Practice
- Wocker commands are recommended
Wocker コマンドでの操作を推奨します
- Stop or remove the running container before restar...
Wocker @WordBench Osaka No.41
Upcoming SlideShare
Loading in …5
×

Wocker @WordBench Osaka No.41

1,406 views

Published on

How to use Wocker and best practice.

Published in: Technology

Wocker @WordBench Osaka No.41

  1. 1. WockerDocker-based rapid development environment of WordPress. @WordBench Osaka No. 41
  2. 2. - Facebook: kite.koga - Twitter: @ixkaito - GitHub: @ixkaito Kite
  3. 3. What Do I Do? - Designer - Programmer - WordBench Osaka moderator - WordCamp Kansai 2015 organizer - WordPress core contributor
  4. 4. What is Wocker? Docker-based rapid development environment of WordPress. Docker ベースの高速 WordPress 開発環境
  5. 5. How Fast? IT TAKES JUST 3 SECONDS TO CREATE A NEW WORDPRESS ENVIRONMENT! WordPress の新しい環境を作るのにたった3秒!
  6. 6. What is Docker?
  7. 7. How is this different from Virtual Machines?
  8. 8. Virtual Machines Hypervisor App A App B Bins/Libs Bins/Libs Guest OS Guest OS Host OS Server }Each virtualized application includes not only the application - which may be only 10s of MB - and the necessary binaries and libraries, but also an entire guest operating system - which may weigh 10s of GB.
  9. 9. Docker Docker Engine App A App B Bins/Libs Bins/Libs Host OS Server } The Docker Engine container comprises just the application and its dependencies. It runs as an isolated process in userspace on the host operating system, sharing the kernel with other containers. Thus, it enjoys the resource isolation and allocation benefits of VMs but is much more portable and efficient.
  10. 10. Virtual Machines Hypervisor App A App B Bins/Libs Bins/Libs Guest OS Guest OS Host OS Server Docker Engine App A App B Bins/Libs Bins/Libs Host OS Server Docker
  11. 11. Wocker Container (Docker Container) Wocker Container (Docker Container) Wocker Container (Docker Container) Wocker Overview Wocker Commands Virtual Machine + Docker Engine (CoreOS) Vagrant Commands Host Machine (Mac, Windows, Ubuntu)
  12. 12. Documentation http://wckr.github.io/
  13. 13. Get Started with Wocker
  14. 14. 1. Install Vagrant
  15. 15. 2. Install VirtualBox
  16. 16. 3. vagrant-hostsupdater Install the vagrant-hostsupdater plugin Vagrant のプラグイン vagrant-hostsupdater をイ ンストール $ vagrant plugin install vagrant-hostsupdater vagrant-hottsupdater for Windows is not allowed to change hosts file by default. Please add "wocker.dev 172.17.8.23" by yourself! Windows のデフォルトでは、vagrant-hostsupdater が hosts ファイルを変更できないため、ご自身で "wocker.dev 172.17.8.23 を hosts ファイルに追加してください。
  17. 17. 4. Clone the Repo Clone the Wocker Repository Wocker リポジトリをクローン $ git clone https://github.com/wckr/wocker.git && cd wocker
  18. 18. 5. Vagrant Up Start up Wocker Wocker を起動 $ vagrant up
  19. 19. Best Practice - Wocker commands are recommended Wocker コマンドでの操作を推奨します - Stop or remove the running container before restarting a stopped one or running a new one コンテナの再起動や新規作成の前に、起動中のコンテナを停止もし くは削除してください - Do not destroy the Vagrant machine of Wocker Wocker のバーチャルマシンをデストロイしない

×