Docker Community Forums

Share and learn in the Docker community.

Two volumes created. Only one needed

Hi there.

I’m a n00b, with a basic understanding of how Docker works. I mainly use it for personal projects. With the help of Portainer, I’m able to maintain it pretty decently.

I posting here because I tried to create an instance of Nextcloud, but when I point the volume parameter to be a specific folder into my Debian 11 home server, it is created (as expected), but there’s also a default volume created within the main drive (which I don’t want)

The command looks like this:

docker run -d --name nextcloud_app \
-v nextcloud:/mnt/storage/docker/volumes/nextcloud/www/html \
nextcloud

To clarify, this is what I see in Portainer after running the command above

TIA