I need to run shared folder which simply mounted to several containers. The good way is to make docker data volume (docker create -v ....) but there is a restriction 4GB of space. I've not been able to find how to extend this space. When I run a common container, there is 100GB space restriction. I'm theoretically able to grow it by dm.basesize option in docker daemon, but it doesn't work. When I insert --storage-opt dm.basesize=3000G (or 3T), it fails and docker daemon ignores it. The only way is to mount a host folder in docker run command, but there is many issues with this solution. For example if I add an user in container, he isn't available in host system (of course!) and even worse if I add an user in host system after, he will receive the same UID and takes ownership of folders!
The best solution would be a docker data volume with 3TB of storage space.