下载一个docker镜像dockerpullcentos交互式运行一个镜像dockerrun-t-icentos/bin/bash删除一个镜像dockerp_w_picpathsdockerrmi"p_w_picpathID"如果无法删除p_w_picpath,则停止使用该镜像的容器查看运行的容器dockerps查看已经退出的容器dockerps-a删除一个容器dockerrm"conta..
分类:
其他好文 时间:
2015-01-16 19:26:50
阅读次数:
163
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:...
分类:
其他好文 时间:
2015-01-16 19:15:26
阅读次数:
177
并发编程之Operation Queue和GCDiOS多线程编程技术之NSThread、Cocoa NSOperation、GCDGCD 深入理解(一)GCD 深入理解(二)本文由@nixzhu翻译至raywenderlich的《grand-central-dispatch-in-depth-par...
分类:
其他好文 时间:
2015-01-16 18:57:45
阅读次数:
320
转载请注明作者:KiwenLau,以及原文地址:http://www.cnblogs.com/kiwenlau/p/4228261.html从Docker Hub仓库中下载一个Ubuntu 12.04的镜像docker pull ubuntu:12.04显示本地已有的镜像docker images移...
分类:
其他好文 时间:
2015-01-16 12:52:28
阅读次数:
108
重启策略:使用在Docker run的时候使用--restart参数来设置。no - container不重启on-failure - container推出状态非0时重启always - 始终重启https://docs.docker.com/reference/commandline/cli/#...
分类:
其他好文 时间:
2015-01-15 10:52:10
阅读次数:
161
安装Docker服务(centos6.4因为内核版本低,安装完会无法启动)1.安装epel#wgethttp://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm这里要看下centos是否已经自带了epel#rpm -i...
分类:
其他好文 时间:
2015-01-15 00:12:51
阅读次数:
190
之所以叫这个名字,因为Docker确实是个能把人搞死的东西。使用最新版的Docker通过包管理器安装的Docker通常不是最新版——起码ubuntu就不是。而Docker一个丧心病狂的地方就在于其文档没有划分版本,在网上看到的经验,在老版本中未必适用。1.0.1所支持的命令明显比1.4.1少了一大截...
分类:
其他好文 时间:
2015-01-14 21:14:17
阅读次数:
219