mem_limit is supported by docker-compose? How can I test it?
I have a following docker-compose.yml
repository:
image: myregistry/my_nginx_image
mem_limit: 60m
volumes:
- /etc/localtime:/etc/localtime
ports:
- "80:80"
How can I prove that the container actually does not exceed 60 mb of RAM?
I am using:
- docker 1.3.1
- docker-compose 1.1.0
docker stats
allows to watch container resources. – Musketmem_limit
in compose file. – Wertmem_limit
is DEPRECATED : docs.docker.com/compose/compose-file/05-services/#mem_limit – Illa