![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Docker
像风一样的男子
这个作者很懒,什么都没留下…
展开
-
ubuntu18.04安装docker
ubuntu18.04安装docker 1、直接使用apt安装,但此安装不是最新版本 sudo apt install docker.io 2、然后可以配置加速器,此处可申请阿里docker镜像加速地址为 https://cr.console.aliyun.com/cn-hangzhou/mirrors 针对于ubuntu来使用镜像加速器需要编辑/etc/docker/daemon.json...原创 2019-02-22 13:44:37 · 376 阅读 · 0 评论 -
Docker API接口开发
Docker API接口开发 详见下方网址,建议使用http进行编写代码 https://docs.docker.com/engine/api/v1.27/#section/Versioning 例如得到全部镜像 docker_swarm_ip_port = "192.168.109.130:2375" docker_swarm_api_version = "v1.26" def get_im...原创 2019-02-22 13:53:37 · 4307 阅读 · 0 评论 -
docker配置swarm
把集群中所有的节点的 docker daemon 的监听方式更改为0.0.0.0:2375 sudo vim /lib/systemd/system/docker.service 修改ExecStart项为如下: ExecStart=/usr/bin/dockerd -H fd:// -H 0.0.0.0:2375 -H unix:///var/run/docker.sock 重新载入配置,...原创 2019-02-26 16:06:46 · 284 阅读 · 0 评论 -
Docker创建MySQL并关联端口映射
https://blog.csdn.net/u014454538/article/details/78544227转载 2019-02-27 14:21:01 · 1990 阅读 · 0 评论