https://bugs.winehq.org/show_bug.cgi?id=52230
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- (In reply to mahg361 from comment #2)
Thanks By container I mean wine
Yes, but this is intentional. Most of the time we want Windows applications to be able to interact with the rest of the Linux system. Wine itself makes no attempt to limit this. If restricting this ability is desired, tools like AppArmor, seccomp filters, SELinux, or perhaps simply running Wine inside a virtual machine like QEMU, would be better suited. There exist tools built on top of those, like e.g. Firejail that should work with Wine.
I hope that helps.