Remove Docker persistent storage volumes from VMware datastore

After you have finished using your Docker persistent storage volumes you can remove them from the environment so you can clean them up and don't consume more storage that what is really needed. Here is what you have to do do clean those up.

List your volumes

docker volume ls

You will see your docker volumes stored in your /vsanDatastore/dockvols folder

removedockvol1

Remove the volumes not needed

docker volume rm volumename

ex: docker volume rm MyVolume

removedockvol2

This will remove the volume from the docker host and will also remove it from the VMware vSphere datastore.

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: