How to access directories on the host?

I got everything working with NC AIO but struggling to adding the environmental variable NEXTCLOUD_MOUNT to the initial startup of the mastercontainer.
What command do i have to use to write -env NEXTCLOUD_MOUNT="/mnt/" and --env NEXTCLOUD_MOUNT="/media/"

You basically use the docker run ... command to add this option but before the last line nextcloud/all-in-one:latest.

Iā€™m sorry but like: docker run nextcloud/all-in-one:latest -env NEXTCLOUD_MOUNT=ā€œ/media/ā€?

No, use the docker run command that you used like e.g. this one:


and put the option before the last line.

1 Like