Saturday, 20 February 2021

How to limit disk space for a Docker container


Hey,We are running unsecured code (provided by users) in Docker containers.Sometimes we see "hackers", who eat all host machine disk space. Is it possible to run a docker container with a limitation for disk space (like we have for the memory)?This approach limits disk space for all docker containers and images, which doesn't work for my particular case.Thanks!

No comments:

Post a Comment