DZT
把v参数里前边的地址改成TF卡里的地址,QL 前边的改成TF卡目录
docker run -dit \
--name QL \
--hostname QL \
--restart always \
-p 5700:5700 \
-v /mnt/60G/QL/config:/ql/config \
-v /mnt/60G/QL/log:/ql/log \
-v /mnt/60G/QL/db:/ql/db \
-v /mnt/60G/QL/scripts:/ql/scripts \
-v /mnt/60G/QL/jbot:/ql/jbot \
whyour/qinglong:latest
TF卡挂载位置,命令lsblk
,输出如下MOUNTPOINT
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 119.4G 0 disk
└─sda1 8:1 1 119.4G 0 part /mnt/60G
mmcblk0 179:0 0 3.6G 0 disk