Posts by Topic: deploy
离线部署dcoker与docker-compose
Li Guangqiao - 07/03/2024
离线部署docker与docker-compose 离线部署docker参考文档 (tencent.com) docker-20.10.7.tgz 解压安装包docker-20.10.7.tgz 移动所有文件到/usr/bin/目录下cp docker/* /usr/bin/ 将docker注册为service,在/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 run by docker ExecStart=/usr/bin/dockerd ExecReload=/bin/kill -s HUP $MAINPID # Having non-zero Limit*s causes performance problems due to...