
Docker
文章平均质量分 86
xiaoni61
这个作者很懒,什么都没留下…
展开
-
Docker Swarm
1 购买至少4台机器并安装Docker可以在阿里云平台购买按时间收费的(2核2G即可),在购买是选取四个机器在同一内网下,安装docker并配置加速。2 工作模式2.1 How nodes workDocker Engine 1.12 introduces swarm mode that enables you to create a cluster of one or more Docker Engines called a swarm. A swarm consists of one or mo原创 2022-03-26 23:04:40 · 918 阅读 · 0 评论 -
Docker Compose 知识点(学习笔记)
1 compose介绍Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configurati原创 2022-03-25 21:34:05 · 1789 阅读 · 0 评论 -
写dockerfile中的种种问题,拉取镜像错误access denied for centos, repository does not exist or may require ‘docke
测试Dockerfile出现了好多问题,但还好都找到了解决办法!首先是这个:Error: Failed to download metadata for repo 'appstream': Cannot p repare internal mirrorlist: No URLs in mirrorlistpull centos时,同时写了RUN yum -y install原创 2022-03-15 16:01:30 · 12638 阅读 · 0 评论 -
docker| docker/dockerfile 所有知识点,从头开始(更新完)
docker 两个容器间的挂载root@xiaoni-01:/home# docker run -it --name centos03 --volumes-from centos02 xiaoni61/centos原创 2022-03-15 20:13:54 · 1197 阅读 · 0 评论 -
docker|docker0 --link
理解docker01 操作先清空所有环境docker rm -f $(docker ps -aq)docker rmi -f $(docker images -aq)测试ip addr创建一个容器,容器内:主机ping容器:root@xiaoni-01:~# ping 172.17.0.3PING 172.17.0.3 (172.17.0.3) 56(84) bytes of data.64 bytes from 172.17.0.3: icmp_seq=1 ttl=64 t原创 2022-03-23 19:14:24 · 1812 阅读 · 0 评论