Dccker
ocnzhao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
win 10的PowerShell下删除所有Docker镜像中tag为<none> 的镜像
参考了https://www.zixi.org/archives/docker_images_filter.html重新整理出的方法记录在此。docker images filter 镜像查询过滤方式1) 找出tag为<none>的docker images -f "dangling=true"2)找出tag为<none>的镜像,加参数-q, 只显示sha值docker images --filter dangling=true -q --no-...原创 2020-08-11 18:29:15 · 819 阅读 · 0 评论 -
docker 自己创建ubuntu 18.04新镜像并上传到docker hub
修改一下docker 拉取镜像的目录,找到镜像的标签https://hub.docker.com/_/ubuntu?tab=tags, 本文使用ubuntu-18.04, boinic创建容器dockercreate --name myubuntu-boinic ubuntu:bionic-20200713Unable to find image 'ubuntu:latest' locallylatest: Pulling from library/ubuntu...原创 2020-08-10 18:19:50 · 2634 阅读 · 0 评论 -
unbuntu 18.04 提示WSL2 不支持docker的问题
You shouldn't need to delete the config.json when you do docker login that should overwrite it regardless. (Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.原创 2020-08-10 07:53:35 · 354 阅读 · 0 评论 -
win 10的PowerShell下删除所有Docker容器的指令
参考了下面几个博客: 1) https://blog.youkuaiyun.com/HermitSun/article/details/105287942 2) https://www.cnblogs.com/yanyouqiang/p/8301856.html 3)https://www.jianshu.com/p/987a206d7d54浏览了一下博客的几种方法。比如这种# docker stop $(docker ps -a -q),显然不能用到win 10的PowerShell下。还有...原创 2020-08-11 17:45:35 · 868 阅读 · 0 评论
分享