Loading

麒麟系统 4.02 awk

报错:
awk: line 133: function strtonum never defined
处理:
sudo apt-get install gawk


cat   /etc/apt/sources.list 
#deb file:///media/kylin/Kylin-4.0.2 juniper main
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp1-server main restricted universe multiverse

docker

# 解压文件
tar xzvf docker-18.06.3-ce.tgz

# 把程序拷贝到运行路径中
sudo cp docker/* /usr/bin/

# 运行服务程序
sudo dockerd &


# docker 命令普通用户可以使用


##系统服务

cat  >>/lib/systemd/system/docker.service <<EOF
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target firewalld.service
Wants=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/dockerd  -g /home/dockerdata
ExecReload=/bin/kill -s HUP $MAINPID
LimitNOFILE=infinity
LimitNPROC=infinity
TimeoutStartSec=0
Delegate=yes
KillMode=process
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s

[Install]
WantedBy=multi-user.target
EOF


systemctl daemon-reload
systemctl start docker.service

posted @ 2021-01-27 16:29  Lust4Life  阅读(339)  评论(0编辑  收藏  举报