随笔分类 -  Docker

摘要:在 Docker 搭建 Maven 私有库 小引 If you are developing software without a repository manager you are likely missing a number of opportunities to reduce some p 阅读全文
posted @ 2017-07-09 22:56 bollen 阅读(854) 评论(0) 推荐(0)
摘要:如何使用Dockerfile用来创建一个自定义的image,包含了用户指定的软件依赖等。当前目录下包含Dockerfile,使用命令build来创建新的image,并命名为edwardsbean/centos6-jdk1.7:docker build -t edwardsbean/centos6-j 阅读全文
posted @ 2017-07-08 16:16 bollen 阅读(1141) 评论(0) 推荐(0)
摘要:常用命令1. 查看容器的root用户密码 docker logs <容器名orID> 2>&1 | grep '^User: ' | tail -n1 因为Docker容器启动时的root用户的密码是随机分配的。所以,通过这种方式就可以得到redmine容器的root用户的密码了。2. 查看容器日志 阅读全文
posted @ 2017-07-08 10:23 bollen 阅读(193) 评论(0) 推荐(0)
摘要:翻译自Docker官方文档 https://docs.docker.com/engine/installation/linux/ubuntulinux/ 之前因为看不懂官方文档,卡在某个步骤无法完成安装。翻译一下安装部分,给自己也希望能给一些同学做参考。 我的英语水平很菜,不足之处请各位斧正。 国内 阅读全文
posted @ 2017-07-05 08:55 bollen 阅读(707) 评论(0) 推荐(0)