随笔分类 - docker
摘要:重启了一下服务器,以前能运行的docker网络应用都不能正常开启了。 因为用的是centos7,所以猜测有可能是iptables的问题。 docker start 或者run 后总是提示类似的错误: No chain/target/match by that name Google了一下,还真有人遇
阅读全文
摘要:根据前面的方法,在windows和Linux共享文件夹,然后就可以开发了! Start up an Ubuntu container $ docker run -it ubuntu bash Update apt-get inside the container $ apt-get update I
阅读全文
摘要:Windows下安装toolbox一直没成功,于是投机取巧,用虚拟机手工打造玩docker的方法。 步骤: 安装虚拟机,安装centos 在win下建立共享文件夹,假如是 f:/share 在centos里的mnt路径下,建立个挂载点: /mnt/share/ mount添加win下的共享文件夹 命
阅读全文
摘要:windows忽略,小苹果木有,所以咱只看ubuntu和centOS的吧! 参考书《Docker技术入门与实战》 Ubuntu 14.04安装Docker Ubuntu 14.04版本官方软件源中已经自带了Docker包,可以直接安装: $ sudo apt-get update $ sudo ap
阅读全文
摘要:attach 附加到一个运行的容器上面 --no-stdin=false Do not attach stdin --sig-proxy=true Proxify all received signal to the process (even in non-ttymode ) attach命令允许
阅读全文

浙公网安备 33010602011771号