20 Ways To Docker

鸡(ji) = 知到

母鸡(mu ji) = 不知道

1. What is docker

docker = container technology

Docker is an open platform for developers and sysadmins of distributed applications.

2. Run ubuntu container

docker run -i -t ubuntu /bin/bash

3. Development env

docker run -i -t --net=host --privileged -v /:/host tobegit3hub/dev /bin/bash

4. What about OpenStack

docker run -d -p 5000:5000 -p 35357:35357 tobegit3hub/keystone_docker

5. And Ceph?

docker run -d --net=host -e MON_IP=172.16.0.206 -e CEPH_NETWORK=172.16.0.0/24 ceph/demo

6. docker exec

docker exec -i -t ceph /binbash

7. What inside container

docker images

8. Dockerfile

9. Seagull web ui

https://github.com/tobegit3hub/seagull

10. GUI applications

https://github.com/tobegit3hub/dockerized-openoffice

11. Boot2Docker

VirtualBox in Mac OS

12. Windows support

Comming soon...

13. Our CoreOS image

The container operation system with docker installed

14. Docker commands

  • docker ps 
  • docker images
  • docker pull
  • docker run

15. New Atomic image

Comming soon...

16. Kubernetes

The cluster management tool

17. Magnum

Deploy kubernetes on OpenStack

Support swarm/mesos tools

18.  rkt

CoreOS container technology

Level 1: lxc, solaris zone, windows

 

Level 2: docker, rkt

 

Level 3: kubernetes, swarm, mesos

 

Level 4: magnum

 

 

20. Sharing

Our wiki: http://confluence.ustack.com/pages/viewpage.action?pageId=1180419

Free ebook: http://yeasy.gitbooks.io/docker_practice/content/index.html

Base image discussion

From Ubuntu

From CentOS

From busybox

......

Network isolation

docker run --net=host

Thanks

容器技术交流群

462294386

20 ways to Docker

By Toby Chan

20 ways to Docker

  • 2,386