摘要: docker-ce的安装: yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docke 阅读全文
posted @ 2020-08-16 18:45 pwcc 阅读(234) 评论(0) 推荐(0)
摘要: 8 搭建私有仓库 https://github.com/vmware/harbor/releases 8-1 下载安装包harbor-offline-installer-v1.5.0-rc2.tgz和安装docker 8-2安装docker-compose: docker-compose 的常用安装 阅读全文
posted @ 2020-08-16 18:38 pwcc 阅读(385) 评论(0) 推荐(0)
摘要: Docker组成:Docker client 和 Docker Server Docker 组件:镜像(image),容器(container),仓库(repository) 搜索镜像:docker search 获取镜像:docker pull 查看镜像:docker images 删除镜像:do 阅读全文
posted @ 2020-08-16 18:26 pwcc 阅读(185) 评论(0) 推荐(0)
摘要: #! /bin/bash LOG_DIR=/var/log ROOT_UID=0 if [ "$UID" -ne "$ROOT_UID" ] then echo "Must be root to run this script" exit 1 fi cd $LOG_DIR || { echo "Ca 阅读全文
posted @ 2020-08-16 00:21 pwcc 阅读(160) 评论(0) 推荐(0)
摘要: [root@centos7 ~]# docker images|grep centos centos latest 0d120b6ccaa8 4 days ago 215MB [root@centos7 ~]# 导出镜像: [root@centos7 ~]# docker save centos > 阅读全文
posted @ 2020-08-16 00:16 pwcc 阅读(1031) 评论(0) 推荐(1)