Docker Community Forums

Share and learn in the Docker community.

Unable to remove volume


(A842042663) #1

I created a symbolic link.

[name@local ~]$ sudo ln -s /data/volumes /var/lib/docker/volumes
[name@local ~]$ sudo docker volume create test
[name@local ~]$ sudo docker volume rm test
Error response from daemon: unable to remove volume: remove test: Unable to remove a directory of out the Docker root /var/lib/docker: /data/volumes/test/_data

Docker version 17.12.0-ce, build c97c6d6