22
Wocker & WordCamp Kansai 2015 @First WordPress on Amazon Web Services meetup! Let's share, learn & socialize!

Wocker & WordCamp Kansai 2015

Embed Size (px)

Citation preview

Wocker & WordCamp Kansai 2015

@First WordPress on Amazon Web Services meetup!

Let's share, learn & socialize!

- Facebook: kite.koga

- Twitter: ixkaito

- GitHub: ixkaito

Kite

What Do I Do?

- Designer

- Programmer

- WordPress core contributor

WordCamp Kansai 2015

https://kansai.wordcamp.org/2015/

What is Wocker?

Docker-based rapid development environment of

WordPress.

- WordPress Tavern

- 100+ stars on GitHub

Reaction of the public

How Fast?

It takes just 3 SECONDS to create a new

WordPress Environment!

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

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.

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.

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

Wocker Container (Docker

Container)

Wocker Container (Docker

Container)

Wocker Container (Docker

Container)

Wocker Overview

Virtual Machine + Docker Engine (CoreOS)

Vagrant Commands

Host Machine (Mac, Windows, Ubuntu)

Wocker Commands

Documentation

http://wckr.github.io/

Get Started with Wocker

1. Install Vagrant

2. Install VirtualBox

3. vagrant-hostsupdater

Install the vagrant-hostsupdater plugin

$ vagrant plugin install vagrant-hostsupdater

Clone the Wocker Repository

4. Clone the Repo

$ git clone https://github.com/wckr/wocker.git && cd wocker

5. Vagrant Up

Start up Wocker

$ vagrant up

Let me show you some tech demo.

Best Practice

- Wocker commands are recommended

- DO NOT destroy the Vagrant machine of

Wocker

- Don't install Wocker more than one but create

containers to manage multiple sites.