摘要: 更名并推送 docker tag docker.io/nginx:latest registry:5000/nginx:latest docker push registry:5000/nginx:latest 推送失败无法找到registry,需要配置dns(以后补充),这里使用ip地址 dock 阅读全文
posted @ 2018-03-18 23:02 stromliu 阅读(1736) 评论(0) 推荐(0) 编辑
摘要: 此为记录,借鉴博客园多位高手的文章 1、镜像准备 因为都知道的原因gcr.io无法访问,终于找到国内阿里云镜像中基本上都有 地址:https://dev.aliyun.com/list.html 使用阿里云镜像pull之后,可以docker tag 成gcr.io的镜像名称,这样就不用改yaml的内 阅读全文
posted @ 2018-03-18 23:01 stromliu 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1、5个str重要方法 join 在字符串加入空格 split find strip upper lower replace 列表: pop eg:pop(0),获取第一个列表并删除第一个列表 2、r'liu\tzhe\\\n' r''用法,屏蔽所有转移字符 3、%格式化,用法 字符 阅读全文
posted @ 2018-03-18 22:51 stromliu 阅读(166) 评论(0) 推荐(0) 编辑