摘要: 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 阅读全文
posted @ 2016-06-21 15:13 GreatK 阅读(6514) 评论(0) 推荐(0) 编辑
摘要: 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 = 阅读全文
posted @ 2016-06-21 13:25 GreatK 阅读(951) 评论(0) 推荐(0) 编辑