logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

docker阿里云加速器

使用docker肯定遇到有些docker官方镜像拉不下来的情况,这时可以使用阿里云加速器,有意外惊喜的:)安装或升级Docker推荐您安装Docker Toolbox。 Toolbox的介绍和帮助: mirrors.aliyun.com/help/docker-toolbox Mac系统的安装文件目录: mirrors.aliyun.com/docker-toolbox/mac

#docker
docker镜像存放位置

docker镜像位置:For someone who is using Docker toolbox (that uses docker-machine), the answers concerning boot2docker on Mac OS X is not valid. The docker-machine VM is called "default" and it exist

#docker
docker制作镜像 apt-get 安装文件报错debconf: unable to initialize frontend: Dialog

错误信息debconf: unable to initialize frontend: Dialogdebconf: (TERM is not set, so the dialog frontend is not usable.)debconf: falling back to frontend: Readlinedebconf: unable to initialize frontend:

docker exec提示错误oci runtime error: exec failed: container_linux.go

sudo docker exec -it569f05d5f4fc /bin/bash提示错误rpc error: code = 13 desc = invalid header field value "oci runtime error:\ exec failed: container_linux.go:247:\ starting container proces...

Sublime Text格式化json插件Pretty JSON

Sublime Text格式化json插件Pretty JSONTo prettify JSON, make selection of json (or else it will try to use full view buffer) and press keys:Linux: ctrl+alt+jWindows: ctrl+alt+jOS X: cmd+ctrl+jor thr

Docker 重命名镜像 TAG

使用docker images时,可能会出现REPOSITORY 和TAG均为none的镜像,如下图重命名镜像docker tag IMAGEID(镜像id) REPOSITORY:TAG(仓库:标签)#例子docker tag ca1b6b825289 registry.cn-hangzhou.aliyuncs.com/xxxxxxx:v1.0

#docker
git提交本地代码到新分支

背景:从branchA分支拉了一份代码,做了一些修改,但是不想提交到branchA分支,想新建一个分支branchB保存代码。操作方法:添加本地需要提交代码git add .提交本地代码git commit -m "add my code to new branchB"push 到git仓库git push origin branchA:branchB仓库中原本没有branchB,提交后

#git
Docker 重命名镜像 TAG

使用docker images时,可能会出现REPOSITORY 和TAG均为none的镜像,如下图重命名镜像docker tag IMAGEID(镜像id) REPOSITORY:TAG(仓库:标签)#例子docker tag ca1b6b825289 registry.cn-hangzhou.aliyuncs.com/xxxxxxx:v1.0

#docker
到底了