每一个瞬间,都值得记录 Kkoo的日常生活

Docker|Docker-Compose-V2安装

# 1. yum安装dnf yum -y install dnf # 2. dnf检查docker compose相关插件 dnf search docker-compose-plugin # 3. dnf安装docker-compose-plugin dnf -y install docker

Kkoo Published on 2024-10-17

Docker|设置仓库代理

为Docker服务创建目录 mkdir -p /etc/systemd/system/docker.service.d 在上一步目录下创建文件http-proxy.conf,添加HTTP_PROXY环境变量的 vim http-proxy.conf 写入代理文件配置 [Service] Enviro

Kkoo Published on 2024-10-17

Docker|应用部署

# 1. 卸载旧版本docker yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate

Kkoo Published on 2024-10-17

Centos|更新yum源

# 1. 备份旧yum仓库文件 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup # 2. 进入yum源配置仓库所在目录 cd /etc/yum.repos.d/ # 3. 下载阿里云的yum源

Kkoo Published on 2024-10-17
Previous Next