摘要:
steps: 1. mkdir /home/docker(你想要docker存放image的目录) 2. systemctl stop docker 3. vi /usr/lib/systemd/system/docker.service 4. 添加 -g /home/docker 5. cp -R 阅读全文
摘要:
Steps: 1. systemctl stop mariadb 2. mkdir data destination folder, ex: /home/mysql 3. cp -R /var/lib/mysql/* /home/mysql 4. edit /etc/my.cnf datadir = 阅读全文