Page tree
Skip to end of metadata
Go to start of metadata

Docker教程

最好的Docker教程是PluralSight.com上的Docker Deep Dive,非常棒,由浅入深,要点清晰。看完这个课程,你对Docker的了解要超过90%的听说过Docker的人。

分享

我曾经做过题为《Docker - 概念和应用》的分享,PPT见百度云盘

Demo用到的命令记录,见附件 Docker Demo Commands.txt

 

 

常用命令

命令示例作用备注
docker rmi odoo   
docker exec -it container bash   
docker stats container_1 container_2 查看container的资源占用情况 

 

 

编辑

升级

Upgrade docker on CentOS 7
http://stackoverflow.com/questions/26472586/upgrade-docker-on-centos-7 

UI工具

Docker管理工具Web UI:DockerUI & Shipyard
http://dockone.io/article/225

如何制作交通灯并用Docker运行
http://dockone.io/article/1159

【实战】五个Docker监控工具的对比

http://dockone.io/article/397

试过其中的CAdvisor,安装非常简单,如下

Trouble Shooting

当遇到devmapper: Error unmounting device 错误的时候,可以删除/var/lib/docker(注意会删除image和container),然后重新机器,再重新启动Docker。

见:Can't run Docker container due device mapper error

容器管理

见子页面

供应商

Rancher

https://github.com/rancher/rancher

Rancher使用入门

http://studygolang.com/articles/6818

Rancher 概述

http://rancher.hidocker.io/overview/overview.html

Rancher 实战红宝书

https://www.gitbook.com/book/martinliu/rancher-docs/details

CSphere

相关书籍

Docker 容器与容器云-浙大SEL实验室
https://book.douban.com/subject/26593175/

Kubernetes权威指南——从Docker到Kubernetes实践全接触
https://book.douban.com/subject/26689184/

相关讲座

阿里Docker夜校

http://www.atatech.org/articles/56416

参考资料

Awesome Docker

https://github.com/veggiemonk/awesome-docker

How to copy docker images from one host to another without via repository?
http://stackoverflow.com/questions/23935141/how-to-copy-docker-images-from-one-host-to-another-without-via-repository
 

Squashing docker images
http://jasonwilder.com/blog/2014/08/19/squashing-docker-images/

A Brief Primer on Docker Networking Rules: EXPOSE, -p, -P, --link
https://www.ctl.io/developers/blog/post/docker-networking-rules/

Docker Adoption
http://www.datadoghq.com/docker-adoption

Real Docker Adoption Is Up 5x in One Year

Docker Now Runs on 6% of the Hosts We Monitor

2/3 of Companies That Try Docker Adopt It

...

Resource management in Docker —— 资源分配相关问题
https://goldmann.pl/blog/2014/09/11/resource-management-in-docker/
 

  • No labels