![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
docker
wi_python
现在的还是“菜鸟”,固有很多不足需要拟补。我一直深信不疑,有选择的坚持将成就下一个美丽;
我要不停的进步,因为我不满足,即使我是蜗牛,也要坚信我前进的脚步。
展开
-
docker 使用笔记
环境Ubuntu 14.04.2 LTS 安装apt-get install docker.io 下载imagedocker pull ubuntu#查看imagedocker images -a运行#container启动时执行shell,执行完后container会退出(docker ps -l可查看)docker run -i -t ubuntu ls安装SSHdocker run --原创 2016-03-18 11:32:27 · 545 阅读 · 0 评论 -
docker 打包python 应用
编写一个Dockerfilesudo vim DockerfileFROM ubuntu:latest#ADD sources.list /etc/apt/RUN mkdir -p /var/www/projectADD src /var/www/projectRUN apt-get update && apt-get install -y python-dev python-pip op原创 2016-05-06 00:34:15 · 3546 阅读 · 0 评论 -
docker 固定IP
环境Ubuntu 14.04.4 LTS安装 brctl 网桥apt-get install bridge-utils以–net=’none’的方式启动一个containerdocker run -i -t --name=net --hostname=net --net='none' ubuntu:ssh /bin/bashroot@net:/# ifconfig lo Link原创 2016-07-12 23:15:09 · 675 阅读 · 0 评论 -
docker disk quota
docker 磁盘容量限制原创 2016-07-13 20:55:55 · 2253 阅读 · 0 评论 -
docker pull 流程
以阿里云的docker源为例docker pull registry.aliyuncs.com/acs-sample/ubuntu1 ping 获取认证urlcurl -v "https://registry.aliyuncs.com/v2/"< HTTP/2 401 < content-type: application/json; charset=utf-...原创 2018-08-24 10:55:10 · 4541 阅读 · 0 评论 -
docker 编译问题
github.com/docker/docker/daemon/graphdriver/btrfs../../daemon/graphdriver/btrfs/btrfs.go:8:25: fatal error: btrfs/ioctl.h: No such file or directory #include <btrfs/ioctl.h> yum install bt...原创 2018-11-16 10:21:19 · 2269 阅读 · 0 评论