I am from OpenVZ background and am a beginner in Docker. When I create a docker container, I suppose some x amount of hard disk and y amount of RAM is dedicated/allocated to container.
I want to restrict my container to say, use 20Gb Hard disk and 500 MB RAM. Is is a possibility.
In OpenVZ I can mention this configuration in command line and also in container’s configuration file.