Top Banner
Wocker & WordCamp Kansai 2015 @First WordPress on Amazon Web Services meetup! Let's share, learn & socialize!
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Wocker & WordCamp Kansai 2015

Wocker & WordCamp Kansai 2015

@First WordPress on Amazon Web Services meetup!

Let's share, learn & socialize!

Page 2: Wocker & WordCamp Kansai 2015

- Facebook: kite.koga

- Twitter: ixkaito

- GitHub: ixkaito

Kite

Page 3: Wocker & WordCamp Kansai 2015

What Do I Do?

- Designer

- Programmer

- WordPress core contributor

Page 4: Wocker & WordCamp Kansai 2015
Page 5: Wocker & WordCamp Kansai 2015

WordCamp Kansai 2015

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

Page 6: Wocker & WordCamp Kansai 2015

What is Wocker?

Docker-based rapid development environment of

WordPress.

Page 7: Wocker & WordCamp Kansai 2015

- WordPress Tavern

- 100+ stars on GitHub

Reaction of the public

Page 8: Wocker & WordCamp Kansai 2015

How Fast?

It takes just 3 SECONDS to create a new

WordPress Environment!

Page 9: Wocker & WordCamp Kansai 2015

What is Docker? !

How is this different from Virtual Machines?

Page 10: Wocker & WordCamp Kansai 2015

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.

Page 11: Wocker & WordCamp Kansai 2015

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.

Page 12: Wocker & WordCamp Kansai 2015

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

Page 13: Wocker & WordCamp Kansai 2015

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

Page 14: Wocker & WordCamp Kansai 2015

Documentation

http://wckr.github.io/

Page 15: Wocker & WordCamp Kansai 2015

Get Started with Wocker

Page 16: Wocker & WordCamp Kansai 2015

1. Install Vagrant

Page 17: Wocker & WordCamp Kansai 2015

2. Install VirtualBox

Page 18: Wocker & WordCamp Kansai 2015

3. vagrant-hostsupdater

Install the vagrant-hostsupdater plugin

$ vagrant plugin install vagrant-hostsupdater

Page 19: Wocker & WordCamp Kansai 2015

Clone the Wocker Repository

4. Clone the Repo

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

Page 20: Wocker & WordCamp Kansai 2015

5. Vagrant Up

Start up Wocker

$ vagrant up

Page 21: Wocker & WordCamp Kansai 2015

Let me show you some tech demo.

Page 22: Wocker & WordCamp Kansai 2015

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.