摘要: 如果要删除本地的镜像,可以使用 docker image rm 命令,其格式为: $ docker image rm [选项] <镜像1> [<镜像2> ...] 用 ID、镜像名、摘要删除镜像 其中,<镜像> 可以是 镜像短 ID、镜像长 ID、镜像名 或者 镜像摘要。 比如我们有这么一些镜像: 阅读全文
posted @ 2021-12-24 11:36 rookiexwang 阅读(1670) 评论(0) 推荐(0) 编辑
摘要: 要想列出已经下载下来的镜像,可以使用 docker image ls 命令。 $ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE redis latest 5f515359c7f8 5 days ago 183 MB nginx latest 阅读全文
posted @ 2021-12-24 11:31 rookiexwang 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 转载于 Docker从入门到实战 1.从docker 镜像仓库获取镜像的命令是pull。其命令格式为: $ docker pull [选项] [Docker Registry 地址[:端口号]/]仓库名[:标签] 镜像名称格式: Docker 镜像仓库地址:地址的格式一般是 <域名/IP>[:端口号 阅读全文
posted @ 2021-12-24 10:50 rookiexwang 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 转载于:菜鸟编程 安装方式 自动安装 官方安装脚本自动安装 1.$ curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 使用国内 daocloud 一键安装命令 2.$ curl -sSL https://get.da 阅读全文
posted @ 2021-12-24 10:21 rookiexwang 阅读(35) 评论(0) 推荐(0) 编辑