在删除镜像之前要先用 docker rm 删掉依赖于这个镜像的所有容器(哪怕是已经停止的容器),否则无法删除该镜像。 停止容器 # docker stop $(docker ps -a | grep "Exited" | awk '{print $1 }') 删除容器 # docker rm $(d ...
分类:
其他好文 时间:
2019-12-23 17:10:12
阅读次数:
99
前言: 本文分为三个章节,第一个章节主要是翻译总结汇总一位国外的老兄在Stack Overflow上的回答,但实际上Linux发展这么多年,文中的知识点已经过时且不准确了, 在第二章中通过实验,有更加准确的描述。但是,第一章节也不是全然无用,至少在了解SO_REUSEPORT和SO_REUSEADD ...
分类:
其他好文 时间:
2019-12-15 23:55:35
阅读次数:
185
1. client端向ResourceManager提交应用程序, 也就是client端会将 jar包,参数等数据上传到hdfs上的某路径下; 2. resourceManager将此应用程序添加到任务队列中; 3. 等待资源充沛时, resourceManager为该应用程序分配第一个contai ...
分类:
其他好文 时间:
2019-12-14 22:38:22
阅读次数:
128
css引入 <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> body主体结构 <body id="top"> <div class="contai ...
分类:
其他好文 时间:
2019-11-23 16:19:10
阅读次数:
69
一、 新增Document在索引中增加文档。在index中增加document。ES有自动识别机制。如果增加的document对应的index不存在。自动创建,如果index存在,type不存在自动创建。如果index和type都存在,则使用现有的。 1.1 PUT语法此操作为手工指定id的Docu ...
分类:
其他好文 时间:
2019-11-21 23:01:47
阅读次数:
102
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2019-11-10 17:34:22
阅读次数:
104
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2019-11-03 12:24:14
阅读次数:
83
按此步骤基本没问题,中间有conflict,需要手动解决。 1、git stash 2、git pull 3、git stash pop 4、git add --xxx 5、git commit -m "msg" 6、git pull -r 或 git pull -rebase 7、git push ...
分类:
其他好文 时间:
2019-10-28 10:50:50
阅读次数:
287
https://azure.microsoft.com/zh-cn/blog/containers-docker-windows-and-trends/ 今天这个时代当你讨论云计算时,不谈谈docker是不可想象的。各行各业的成功组织,从银行等金融组织到电子商务公司都希望能够清晰理解到底contai ...
insert into "Stu_Record_Law"("Studentid","Desc","Step") values (123,'hehe',1) on conflict("Studentid","Step") DO UPDATE SET "Desc"=EXCLUDED."Desc"' ...
分类:
数据库 时间:
2019-10-14 12:25:08
阅读次数:
87