Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
DOCKER UNCOVERED
John Cleary / #PHPNW16 / @TheRealBifter
What is Docker?
Images and Volumes
Docker Hub
What is Docker?
Use Cases
How it works, terminology and
architecture.
Gettin...
What is Docker?
Docker Uncovered
Docker Uncovered
Container 3
Processes
Memory
Network
File System…
Container 1
Processes
Memory
Network
File System…
Container 2
Processes
...
Redis 3.0
Processes
Memory
Network
File System…
PHP 7.0
Processes
Memory
Network
File System…
MySql 5.7
Processes
Memory
N...
DOCKER IS…
• Managing Linux* hosts/machines
• Starting and stopping containers
• Managing container file system (volumes)
...
DOCKER ALSO PROVIDE…
• Managing Images (Docker Hub)
• Managing Hosts (Docker Cloud)
ONLINE SERVICES FOR:
Docker Uncovered
Docker Uncovered
WHERE DOES DOCKER FIT IN?
A BRIEF HISTORY OF WEB COMPUTING
that may not actually be that accurate
1992
Dedicated Server
1996
Shared Hosting
2006
Clo...
Docker in Development
Docker Uncovered
Docker Uncovered
Docker Uncovered
DOCKER TERMINOLOGY
Infrastructure
Operating System
Docker Engine
Container Container
Volume Volume
docker...
HELLO WORLD
Docker Uncovered
DOCKERIZING A PHP APP
Docker Uncovered
• PHP
• MYSQL
• REDIS
DOCKER-COMPOSE
Docker Uncovered
DOCKERFILE
Docker Uncovered
Docker Uncovered
DOCKER-COMPOSE UP
Docker in Production
Docker Uncovered
Docker Uncovered
Docker Uncovered
STEP 1:
Docker Uncovered
STEP 2:
Docker Uncovered
IN SUMMARY:
Docker Uncovered
• CONTAINERS, IMAGES, VOLUMES
• DOCKER HUB
• IN DEVELOPMENT
• HELLO WORLD & DOCKERIZING AN AP...
FURTHER READING:
Docker Uncovered
• DOCKER SWARM
• KUBERNETES*
• BEST PRACTICES
*GIANTSWARM.IO SIGNUP CODE #PHPNW16
Thank you!
joind.in/talk/481ba
github.com/jcleary/docker_uncovered/wiki
@TheRealBifter
Upcoming SlideShare
Loading in …5
×

Docker Uncovered / PHPNW 2016

245 views

Published on

What is Docker? How does it compare Chef/Vagrant/Ansible? Should I be using it? Is it still cool? All these questions and many more besides will be answered in this no-holds-barred look into the technology that is still taking the world by storm.

During the talk we'll discover what Docker is and how it can be integrated into your workflow. Using a simple app, we'll walk through the process of dockerify a project and it's dependencies. We'll also look at some common pitfalls such as managing your data in a container and running multiple projects on a single host.

If you are looking to manage all your projects in a simple and consistent way, or just want to know what all the hype is about, come along and discover the hidden secrets of Docker.

Published in: Technology
  • Be the first to comment

Docker Uncovered / PHPNW 2016

  1. 1. DOCKER UNCOVERED John Cleary / #PHPNW16 / @TheRealBifter
  2. 2. What is Docker? Images and Volumes Docker Hub What is Docker? Use Cases How it works, terminology and architecture. Getting started & Command line tools Dockifing an app -> introducing docker-compose Docker In Development Use Cases Docker Cloud Docker In Production DOCKER UNCOVERED Docker Uncovered
  3. 3. What is Docker? Docker Uncovered
  4. 4. Docker Uncovered
  5. 5. Container 3 Processes Memory Network File System… Container 1 Processes Memory Network File System… Container 2 Processes Memory Network File System… LINUX CONTAINERS Linux Host Processes Memory Network File System… Docker Uncovered
  6. 6. Redis 3.0 Processes Memory Network File System… PHP 7.0 Processes Memory Network File System… MySql 5.7 Processes Memory Network File System… LINUX CONTAINERS TCP/IP Docker Uncovered Linux Host Processes Memory Network File System…
  7. 7. DOCKER IS… • Managing Linux* hosts/machines • Starting and stopping containers • Managing container file system (volumes) • Managing container images A SET OF TOOLS FOR Docker Uncovered
  8. 8. DOCKER ALSO PROVIDE… • Managing Images (Docker Hub) • Managing Hosts (Docker Cloud) ONLINE SERVICES FOR: Docker Uncovered
  9. 9. Docker Uncovered WHERE DOES DOCKER FIT IN?
  10. 10. A BRIEF HISTORY OF WEB COMPUTING that may not actually be that accurate 1992 Dedicated Server 1996 Shared Hosting 2006 Cloud Computing 2014 Docker Docker Uncovered
  11. 11. Docker in Development Docker Uncovered
  12. 12. Docker Uncovered
  13. 13. Docker Uncovered DOCKER TERMINOLOGY Infrastructure Operating System Docker Engine Container Container Volume Volume docker docker-compose docker-machine Command Line Docker Hub Images Images Images
  14. 14. HELLO WORLD Docker Uncovered
  15. 15. DOCKERIZING A PHP APP Docker Uncovered • PHP • MYSQL • REDIS
  16. 16. DOCKER-COMPOSE Docker Uncovered
  17. 17. DOCKERFILE Docker Uncovered
  18. 18. Docker Uncovered DOCKER-COMPOSE UP
  19. 19. Docker in Production Docker Uncovered
  20. 20. Docker Uncovered
  21. 21. Docker Uncovered
  22. 22. STEP 1: Docker Uncovered
  23. 23. STEP 2: Docker Uncovered
  24. 24. IN SUMMARY: Docker Uncovered • CONTAINERS, IMAGES, VOLUMES • DOCKER HUB • IN DEVELOPMENT • HELLO WORLD & DOCKERIZING AN APP • DOCKER IN PRODUCTION
  25. 25. FURTHER READING: Docker Uncovered • DOCKER SWARM • KUBERNETES* • BEST PRACTICES *GIANTSWARM.IO SIGNUP CODE #PHPNW16
  26. 26. Thank you! joind.in/talk/481ba github.com/jcleary/docker_uncovered/wiki @TheRealBifter

×