9951 explained code solutions for 126 technologies

dockerHow to limit memory for docker container

docker run -it -m 2g ubuntuctrl + c
docker run

launch docker container


immediately connect to container terminal after launch


amount of memory docker container will be allowed to use


use only 2 gigabytes of memory


name of the image to run container from