How to limit the size of container root volume?

Expected behavior

When start container, there should be an option to set the root volume size

Actual behavior

The container starts up with the root volume has the same size as host


If I keep generate random file under c:\ inside container, it will take all host disk space. Need an approach to prevent this.

Hyper-V-Manager program should be able to set the HD size?!