一、docker安装下载
下载安装docker方法一:
1、进入地址https://download.docker.com/linux/static/stable/x86_64/下载docker-18.06.3-ce.tgz
2、解压:tar -zxvf docker-18.06.3-ce.tgz
3、将docker中的全部文件,使用下边命令,复制到/usr/bin 中
cp ./docker/* /usr/bin
4、创建docker.service文件
cd /etc/systemd/system/
touch docker.service
5、vim docker.service
6、修改docker.service配置文件,--insecure-registry=后面改为自己的电脑ip
[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 --selinux-enabled=false --insecure-registry=192.168.205.230
ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment Tasks
从0到1实现deepseek在 Linux环境搭建
于 2025-03-13 15:34:01 首次发布