一、ubuntu的安装省略
二、Docker安装
1.更新软件包
更新
Ubuntu
软件包
sudo apt update
2.安装docker依赖
apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
//软件源
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
//安装doker
apt-get install docker-ce docker-ce-cli containerd.io
//启动doker
systemctl start docker
3.青龙
docker run -dit \
-v /ql/config:/ql/config \
-v /ql/log:/ql/log \
-v /ql/db:/ql/db \
-v /ql/repo:/ql/repo \
-v /ql/raw:/ql/raw \
-v /ql/scripts:/ql/scripts \
-v /ql/jbot:/ql/jbot \
-p 5900:5700 \
--name qinglong \
--hostname qinglong \
--restart unless-stopped \
whyour/qinglong:latest
输入安装命令