container和container进行“沟通”,官方称linkingcontainerstogether!最为常见的是首先运行一个webcontainer,和运行一个dbcontainer,让webcontainerlinkdbcontainer;通过link,在2个container间建立了一个网络通道(bridge),而且dbcontainer只需要知道上一个container的ali..
分类:
其他好文 时间:
2014-08-11 18:14:13
阅读次数:
392
进入操作系统
yum install docker-io
docker -d
提示没有空闲IP地址可以给桥接网卡使用了
编辑下内网网卡eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=x.x.x.x
NETMASK=255.255.248.0
BRIDGE='docker0'
新建一个docker0配置文件
DEVI...
分类:
其他好文 时间:
2014-08-11 17:51:42
阅读次数:
212
-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16
分类:
其他好文 时间:
2014-08-11 14:52:12
阅读次数:
159
png图片在ie8下有黑色边框的情况想必大家都有遇到过吧,那么该怎么解决呢?其实很简单,下面的方法或许对大家有所帮助background-image:url(******.png)!important; background-image:url(../images/space.gif);/*spac...
分类:
其他好文 时间:
2014-08-11 14:37:52
阅读次数:
197
本次介绍ansible的palybook结合docker进行虚拟机里安装2.6.8版本smokeping(apache版本是2.4.7)。docker版本09:26:53#dockerversion
Clientversion:0.11.1
ClientAPIversion:1.11
Goversion(client):go1.2.1
Gitcommit(client):fb99f99/0.11.1
Serverversion:0.11.1
ServerAPI..
分类:
其他好文 时间:
2014-08-11 12:12:33
阅读次数:
1941
win8 64位系统,原本svn是好用的,安装了klive金山快盘后,svn图标都不显示了。最后通过修改注册表解决:win+R调出运行框,输入regedit,打开注册表编辑器。将SVN的状态图标排序进行修改,由于快盘用.开头占掉了系统默认状态图标数。因此把每个svn图标前,都加上点。排序就靠前了。修...
分类:
其他好文 时间:
2014-08-11 11:35:02
阅读次数:
233
const int MAX=1010; //元素个数的最大值,根据题目修改int p[MAX];void init(int n) //n为实有元素个数{ for (int i=1; i<=n; i++) p[i]=i; }int find(int x) //查找{ if (x==p[x]) retu...
分类:
其他好文 时间:
2014-08-10 21:21:50
阅读次数:
258
QuadtreesA quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into fou...
分类:
其他好文 时间:
2014-08-10 18:22:30
阅读次数:
250
1,创建COM组件2,调用COM3,MFC调用COM
分类:
其他好文 时间:
2014-08-10 01:36:19
阅读次数:
247