Best way to move docker directory #3127
2016-05-06 15:23 ycliu912 阅读(242) 评论(0) 编辑 收藏 举报thomasleveil commented on 20 Feb 2014
ln -s $dest /var/lib/docker
This was the cause of issues with the docker rm
command (error about being Unable to remove filesystem)
The solution to avoid having a symbolic link is to start docker with the -g
parameter
On Ubuntu that option is to be set in the /etc/default/docker
file
DOCKER_OPTS="-g /somewhere/else/docker/"
Ok it's done, and it worked quite well:
And Is seems to be working !