Specifying /etc as volume

Hello

I’m trying to dockerize a software which manages a multitude of services (and not always the same).
Does it have any drawbacks if i specify /etc as a volume?
I know that e.g. resolv.conf is not deletable normally, but could be deleted then. Are there more things to look for?
Of course I’d copy all existing files to the new directory.

I’m using debian:stable and “–net host”. The container is not privileged.

mmmm, ok, yes, there is one interesting problem - that /etc volume will be imported into any container that you link to with --volumes-from

Mind you, it really does depend - I suspect in cases like yours it might be very useful :slight_smile:

It’s just in case, thanks :slight_smile: