fanlong0212

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年2月12日

摘要: 镜像 1.获取镜像 docker pull 服务器:端口/仓库名称:镜像 ➜ ~ docker pull python Using default tag: latest 2.查看镜像信息 列出本机所有镜像: dokcer images 更改镜像信息: $ docker tag dl.dockerp 阅读全文
posted @ 2020-02-12 00:47 fanlong0212 阅读(201) 评论(0) 推荐(0) 编辑

摘要: 1、首先应该进入已经运行的容器: docker exec -it [容器名或容器ID] /bin/bash 2、在容器里查看镜像所使用的的Linux版本 cat /etc/issue 我这边下载的一个容器里面运行的是Welcome to Alpine Linux 3.10 的版本, Alpine 软 阅读全文
posted @ 2020-02-12 00:12 fanlong0212 阅读(7993) 评论(0) 推荐(1) 编辑