随笔分类 -  docker学习笔记

摘要:LXC linux container 百度百科:http://baike.baidu.com/link?url=w_Xy56MN9infb0hfYObib4PlXm-PW02hzTlCLLb1W2dbdQr4AJcrWuxoe9ng9SxYgORKeAQSk0TJOXEL8BnEqK docker 阅读全文
posted @ 2016-06-30 10:15 Nil&Null 阅读(4211) 评论(0) 推荐(0)
摘要:【关掉默认打开的selinux,防火墙不能关,关了会出现一个小小的bug】首先,搞定mysql 1.search$dockersearchmysqlNAMEDESCRIPTIONSTARSOFFICIALAUTOMATEDmysqlMySQLisawidelyused,open-sourcerela... 阅读全文
posted @ 2015-10-30 14:32 Nil&Null 阅读(399) 评论(0) 推荐(0)
摘要:$ git clone https://github.com/shipyard/shipyard.git$ cd shipyard/$ sudo pip install -r requirements.txt$ sudo python manage.py syncdb --noinput$ sudo... 阅读全文
posted @ 2015-09-30 09:32 Nil&Null 阅读(310) 评论(0) 推荐(0)
摘要:镜像(Image) vs Dockerfile这组概念很少会让人产生疑惑,但是这两者的区别非常重要。Docker在镜像(image)中运行你的代码,而不是Dockerfile。Dockerfile是通过docker build命令来编译镜像的配置文件。如果你去浏览一下public index的话,你... 阅读全文
posted @ 2015-09-24 11:13 Nil&Null 阅读(1263) 评论(0) 推荐(0)
摘要:Commands:attachAttachtoarunningcontainer buildBuildanimagefromaDockerfile commit... 阅读全文
posted @ 2015-09-23 16:22 Nil&Null 阅读(1912) 评论(0) 推荐(0)