离线安装docker 以及docker-compose
docker 部署Nginx 一、安装 docker 1.从官方下载Docker安装包并上传至虚拟机 https://download.docker.com/linux/static/stable/x86_64/ 2.解压安装包 tar -xvf docker-22.0.6.tgz 3.将解压出来的docker文件内容移动到 /usr/bin/ 目录下 mv docker/* /usr/bin/ 4.将docker注册为service服务 vi /etc/systemd/system/docker.service [Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com After=network-online.target firewalld.service Wants=network-online.target [Service] Type=notify # the default is not to use systemd for cgroups because the delegate issues still # exists and systemd currently does not support the cgroup feature set required # for containers...