If I would like to create a data volume of let´s say 15GB that would be of type ext4, how would I do that?
docker volume create --name vol
just creates an empty volume.
docker volume create --opt type=ext4 --name vol
creates an ext4 volume but I cannot specify the size of it since ext4 does not support it according to the mount options of ext4.