With docker build, how do I specify the maximum disk space to be allocated to the runtime container?
This StackOverflow question mentioned runtime constraints, and I am aware of --storage-opt, but that concerns runtime parameters on dockerd or run docker -- and in contrast, I want to specify the limit in advance, at image build time.
(Note that I am not talking about specifying the disk footprint of the image, but rather about specifying the the maximum disk space for the container.)