摘要: 问题 强杀docker进程后,重启docker。docker中的容器无法启动并报错,报错内容如下 docker restart ae1f7b2c2f15 Error response from daemon: Cannot restart container ae1f7b2c2f15: contai 阅读全文
posted @ 2018-07-19 18:14 Presley 阅读(917) 评论(0) 推荐(0) 编辑
摘要: 注意:所有匹配需要用单引号 一、获取最后一行内容 docker images | grep "none" | sed -n '$'p 二、获取第一行内容 docker images | grep "none" | sed -n '1'p 三、获取第一行到最后一行内容 docker images | 阅读全文
posted @ 2018-07-19 18:09 Presley 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 一、引用自:https://www.cnblogs.com/chensiqiqi/p/6285060.html 二、grep示例 grep -i 忽略大小写 grep -w 精准匹配 grep -E 匹配正则 ^(以什么开头),.*(任意字符) 三、正则表达式分类 1、基本正则表达式(BRE , b 阅读全文
posted @ 2018-07-19 18:05 Presley 阅读(239) 评论(0) 推荐(0) 编辑
摘要: find /application/docker_hub/logs/fof1private/amount_dev -type l | xargs basename 阅读全文
posted @ 2018-07-19 15:22 Presley 阅读(2264) 评论(0) 推荐(0) 编辑
摘要: docker ps -aqf 'name=pypaltform2018_v1_trust_pro' 阅读全文
posted @ 2018-07-19 15:12 Presley 阅读(6759) 评论(0) 推荐(1) 编辑