Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Portainer create new volume

I would like create new volume in Portainer. So, in Volumnes page and Create Volume, i want add my /media/USBNAS to /media container folder :

Driver options name : /media/USBNAS value : /media

But i've an error message with invalid option key: "/media/USBNAS"

There is something I'm doing wrong, but I do not know what

like image 852
Stéphane R. Avatar asked Feb 14 '26 01:02

Stéphane R.


1 Answers

You will need the "local-persist" driver for this.

You can get it here: https://github.com/CWSpear/local-persist Just install, if possible, using the install script and you're good to go.

Name needs to be "mountpoint" and value is your local path. As you setup your container, you can choose your created volume and set the container path.

like image 120
Nordrassil Avatar answered Feb 15 '26 19:02

Nordrassil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!