10. What is Container?
● Operating-system-level virtualization
● Cgroups
Initial release : 2007
kernel version : 2.6.24
● Namespaces
Initial release : 2002
kernel version : 2.4.19
11. What is Container?
● Operating-system-level virtualization
Hardware
Linux
Container Container Container
Docker/LXD
12. Docker
● Docker allows you to package an application
with all of its dependencies into a standardized
unit for software development.
Others
App
image
26. DevOps
From : 10+ Deploys Per Day: Dev and Ops Cooperation at Flickr
http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr
27. DevOps
From : 10+ Deploys Per Day: Dev and Ops Cooperation at Flickr
http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr
29. How to recreate the environment?
Docs: about how to
setup the environment
From:http://www.tayloreason.com/corkscrew/archives/finding-your-perfect-match-online-wine-clubs-retailers-and-winery-websites/attachment/typing-on-computer/
From:https://commons.wikimedia.org/wiki/File:Gorilla-server.svg
30. How to recreate the environment?
In DevOps
● Configuration management: describe infrastructure
as code
From:https://www.getfilecloud.com/blog/2014/08/top-8-configuration-management-tools-for-sys-admins/#.VzM7bqNcSko
31. How to recreate the environment?
In DevOps
● Configuration management: describe infrastructure
as code
- hosts: dev_host
tasks:
- name: Install packages which are absent
apt: name={{ item }} state=present update_cache=yes
with_items:
- vim
- curl
- git
- docker-engine
become: yes
32. How to recreate the environment?
In DevOps
● Configuration management: describe infrastructure
as code
- hosts: dev_host
tasks:
- name: Install packages which are absent
apt: name={{ item }} state=present update_cache=yes
with_items:
- vim
- curl
- git
- docker-engine
become: yes
33. How to recreate the environment?
In DevOps with Docker
● Just install Docker and pull image to create the
environment
- hosts: dev_host
tasks:
- name: Install packages which are absent
apt: name=docker-engine state=present update_cache=yes
become: yes
- name: Pull Docker image
docker:
name: myapplication
image: someuser/appimage
state: reloaded
pull: always