this post was submitted on 09 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi all,

I want to ask about docker volumes, is it possible to mount multiple directories in one volume?

Example:

docker run ..... -v nginx-data:/usr/share/nginx -v nginx-data:/etc/nginx nginx

you are viewing a single comment's thread
view the rest of the comments
[–] maximus459@alien.top 1 points 1 year ago

Yes. Buuut......

If the same files in said folder are being written to that might cause issues..

I do have a few containers like that, but one folder is read-only...