文件名称:docker.rar
文件大小:15KB
文件格式:RAR
更新时间:2022-08-26 04:21:32
docker 离线安装
## docker.services配置文件内容 > 创建docker启动文件(docker.services)放入/usr/lib/systemd/system/目录 ``` [Unit] Description=Docker Application Container Engine Documentation=http://docs.docker.com After=network.target docker.socket [Service] Type=notify Environment="PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin" EnvironmentFile=-/run/flannel/docker WorkingDirectory=/usr/local/bin ExecStart=/usr/local/bin/dockerd \ --graph=/data/docker --selinux-enabled=false \ --log-opt max-size=1g \ --log-level=error \ $DOCKER_NETWORK_OPTIONS ExecReload=/bin/kill -s HUP $MAINPID LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TimeoutStartSec=0 Delegate=yes KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target ```
【文件预览】:
docker
----install.html(18KB)
----install.md(456B)
----start.html(18KB)
----docker-conf.md(857B)
----docker-conf.html(19KB)
----docker-start.html(18KB)
----docker()
--------install.md(432B)
--------docker-conf.md(857B)
--------start.md(87B)
--------docker-start.md(247B)
----start.md(192B)
----docker-start.md(247B)