6.5 Avoid container sprawl

Information

https://zeltser.com/security-risks-and-benefits-of-docker-application/
2.http://searchsdn.techtarget.com/feature/Docker-networking-How-Linux-containers-will-change-your-network

Solution

Periodically check your container inventory per host and clean up the containers that are not needed using the below command-
docker rm $INSTANCE_ID

For example,
docker rm e3a7a1a97c58
Impact-
If you keep way too few number of containers per host, then perhaps you are not utilizing your host resources very adequately.
Default Value-
By default, Docker does not restrict the number of containers you may have on a host.

See Also

https://workbench.cisecurity.org/files/516

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2c.

Plugin: Unix

Control ID: d921e528d297d56133b64153953a0e60fef691fec86c6efc57a9be39169d1a4c