You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
I accidentally created a volume with an illegal character in it (i.e. /) Here is the volume listing:
/# docker volume ls
DRIVER VOLUME NAME
vieux/sshfs:latest /certs
I made sure no container were running and not even present.
/# docker container prune
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
/# docker volume rm certs
Error: No such volume: certs
/# docker volume rm /certs
Error: No such volume: /certs
/# docker volume prune
WARNING! This will remove all volumes not used by at least one container.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
/# docker volume ls
DRIVER VOLUME NAME
vieux/sshfs:latest /certs
I am basically at a loss how to delete this volume. I am able to still mount it with this command.
$ docker run -it -v /certs:/mnt alpine /bin/sh
/# ls -la /mnt
total 12
drwxr-xr-x 2 root root 4096 Sep 14 00:39 .
drwxr-xr-x 1 root root 4096 Sep 14 23:12 ..
-rw-r--r-- 1 root root 6 Sep 14 00:39 file
/# exit
Any idea on how to delete the volume with the slash?
The text was updated successfully, but these errors were encountered:
I accidentally created a volume with an illegal character in it (i.e. /) Here is the volume listing:
/# docker volume ls
DRIVER VOLUME NAME
vieux/sshfs:latest /certs
I made sure no container were running and not even present.
/# docker container prune
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
/# docker volume rm certs
Error: No such volume: certs
/# docker volume rm /certs
Error: No such volume: /certs
/# docker volume prune
WARNING! This will remove all volumes not used by at least one container.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
/# docker volume ls
DRIVER VOLUME NAME
vieux/sshfs:latest /certs
I am basically at a loss how to delete this volume. I am able to still mount it with this command.
$ docker run -it -v /certs:/mnt alpine /bin/sh
/# ls -la /mnt
total 12
drwxr-xr-x 2 root root 4096 Sep 14 00:39 .
drwxr-xr-x 1 root root 4096 Sep 14 23:12 ..
-rw-r--r-- 1 root root 6 Sep 14 00:39 file
/# exit
Any idea on how to delete the volume with the slash?
The text was updated successfully, but these errors were encountered: