上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 原文:https://docs.docker.com/engine/getstarted-voting-app/create-swarm/ 初始化集群 Swarm1. 使用 ssh 命令登录 manager 虚拟机:PS C:\Users\Administrator> docker-machine ssh manager ## . ... 阅读全文
posted @ 2017-02-18 10:40 copperface 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 原文:https://docs.docker.com/engine/getstarted-voting-app/#/docker-stacks-and-services你将会学习什么 本文创建了一个基于web的投票voting应用,会收集,匹配,并返回投票结果(你选择的是cats,dogs还是其他)。这个投票app包括多个服务,每个都在独自的container容器中运行。 我们会将app... 阅读全文
posted @ 2017-02-18 10:13 copperface 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 原文:https://docs.docker.com/engine/getstarted-voting-app/node-setup/部署voting app的第一步,是为集群节点(swarm nodes)创建 Docker machines。我们可以在不同的实体PC、虚拟机或者云服务器上创建这些 Docker化 的主机。在本例中,我们使用Docker Machine来创建两个虚拟机(virtua... 阅读全文
posted @ 2017-02-18 10:13 copperface 阅读(2597) 评论(0) 推荐(0) 编辑
摘要: 这是StackOverflow上的一个问题及其回答的翻译(原文:Docker.io跟一般的虚拟机有什么区别?)。原文主要回答了三个问题:1. Docker.io的基本原理是什么?2. 为什么在docker中部署软件很方便?3. docker是如何保存系统镜像的?前两个问题是主问题,最后一个问题是有人在评论中提出的,原作者也做了回答。问题:我正在学习Docker.io的文档(http://docs.... 阅读全文
posted @ 2017-02-17 19:06 copperface 阅读(595) 评论(0) 推荐(1) 编辑
摘要: Docker Engine当人们提到 Docker,一般而言,大家说的是 Docker Engine,如下图: 它是一个 client-server application。Docker Engine 由三个部分组成:Docker 进程(Docker Daemon)REST API:指定了和进程交互的接口CLI(command line interface):通过 REST API 和 daemo... 阅读全文
posted @ 2017-02-17 19:06 copperface 阅读(9455) 评论(0) 推荐(1) 编辑
摘要: 首先进入阿里云docker库首页 https://dev.aliyun.com/点击 管理中心 点击 加速器复制下面的加速地址进入docker的 Settings把basic 切换成 advanced,并在 registry-mirrors: 中填入刚刚复制的加速地址应用后即可 null 阅读全文
posted @ 2017-02-16 21:53 copperface 阅读(54743) 评论(0) 推荐(1) 编辑
摘要: Total Accepted: 89180Total Submissions: 281459Difficulty: MediumContributors: AdminGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equ... 阅读全文
posted @ 2017-02-15 21:28 copperface 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Total Accepted: 97678Total Submissions: 339601Difficulty: MediumContributors: AdminGiven a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the orig... 阅读全文
posted @ 2017-02-15 20:53 copperface 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Total Accepted: 163106Total Submissions: 417745Difficulty: EasyContributors: AdminGiven a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, r... 阅读全文
posted @ 2017-02-15 19:45 copperface 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Total Accepted: 96273Total Submissions: 399212Difficulty: MediumContributors: AdminGiven a list, rotate the list to the right by k places, where k is non-negative.For example:Given 1->2->3->4->5->NULL... 阅读全文
posted @ 2017-02-15 19:12 copperface 阅读(246) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页