随笔分类 - docker
docker相关干货
摘要:我的linux上有两个centos的镜像,它们id一样,但第二个的tag为none,怎么办呢?如果docker rmi -f imageId强制删除,会把那个tag正常的也删除掉。(dimg是我自己定义的命令别名,docker images的缩写) 解决办法很简单,重新打上tag就行了
阅读全文
摘要:安装docker-compse时报错: ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong t
阅读全文
摘要:在创建容器时,把宿主机的目录挂载到容器中,相当于建立了一个两者之间的共享目录: docker run -itd --name continerId -v /root/test/:/home imageId
阅读全文
摘要:最近在学习docker,注册了阿里云镜像仓库。在阿里云主机上登陆好好的,但在win上安装的虚拟机(CentOS7)上却一直无法登陆,报错如下: Error response from daemon: Get https://registry.cn-shenzhen.... net/http: req
阅读全文

浙公网安备 33010602011771号