commit镜像 # docker commit 提交容器成为一个新的副本 # 命令和git原理类似 # docker commit -m="提交的描述信息" -a="作者" 容器id 目标镜像名:[TAG] 实战测试 # 启动Tomcat sudo docker run -it -p 3344:8 ...
分类:
其他好文 时间:
2021-01-18 10:43:41
阅读次数:
0
原因1 你下载安装的包不是当前平台所支持的 原因2 你下载的包,不符合你所在的平台的安装whl的名称规范,所以出错。比如当前我要安装的包是:pymssql-2.1.5-cp36-cp36m-manylinux1_x86_64.whl 但是在我的系统中使用如下命令安装: pip3 install py ...
分类:
编程语言 时间:
2021-01-13 11:21:35
阅读次数:
0
正则表达式 字符相关 匹配文中的指定字符串 import re text = "我一把把把把住了,tom差点就掉下去了,tom得救了" data_list = re.findall('tom',text) print(data_list) ['tom', 'tom'] [abc]匹配单一字符a或b或 ...
分类:
编程语言 时间:
2021-01-13 11:02:54
阅读次数:
0
原文链接 -http://www.xianxianlabs.com/blog/2020/05/27/355.html ...
分类:
数据库 时间:
2021-01-13 10:30:39
阅读次数:
0
###链接 调了好久。。。 我平常写平衡树时 \(push\) \(tag\) 的操作都习惯把 \(rev\) 数组清零,但在 \(LCT\) 中不行,因为 \(rev\) 储存了节点间的父子关系,直接清零会改变树的结构。 \(\frak{code}\) #include<bits/stdc++.h ...
分类:
其他好文 时间:
2021-01-12 11:26:50
阅读次数:
0
前排 本文参考-使用Docker安装IK中文分词器 前提 es已经启动 安装ik分词器 ##第一步 下载ik分词器 ik分词器官方下载地址 下载比较慢 这里提供一下 ik7.10.1下载链接 下载对应自己es的ik分词器 第二步 上传ik分词器到服务器 新建文件夹 mkdir -p /data/el ...
分类:
其他好文 时间:
2021-01-11 11:28:47
阅读次数:
0
一、镜像操作 1)构建镜像 docker build -t REPOSITORY:TAG . 注意最后一个点[.]不能缺少,生成完:runoob/centos为REPOSITORY,6.7为TAG 2)获取镜像 sudo docker pull REPOSITORY[:TAG] 3)为镜像打个标签 ...
分类:
其他好文 时间:
2021-01-11 11:04:35
阅读次数:
0
清除未使用的卷 「How To Remove Docker Containers, Images, Volumes, and Networks」 清除没有使用的卷:docker system prune --volumes 从镜像中还原Dockerfile文件 -「How to generate a ...
分类:
其他好文 时间:
2021-01-11 11:04:04
阅读次数:
0
package main import ( "fmt" "reflect" ) type Reflect struct { Name string `json:"name" test:"tag"` PassWord string Three int } func (m Reflect)Hello(v ...
分类:
其他好文 时间:
2021-01-07 12:35:17
阅读次数:
0
拉取nexus3镜像 [root@server-04 ~]# docker pull docker.io/sonatype/nexus3 查看镜像 [root@server-04 ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE sonat ...
分类:
其他好文 时间:
2021-01-07 12:09:23
阅读次数:
0