Critical-risk tools in Docker
10 of the 56 tools in Docker are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
docker_compose_downDestructiveStop and remove Docker Compose services
-
docker_prune_containersDestructiveRemove stopped containers. Requires confirmation for safety. First call without confirm to see what will be removed, then call again with confirm=true to proceed.
-
docker_prune_imagesDestructiveRemove unused images. Requires confirmation for safety. First call without confirm to see what will be removed, then call again with confirm=true to proceed.
-
docker_prune_networksDestructiveRemove unused networks. Requires confirmation for safety. First call without confirm to see what will be removed, then call again with confirm=true to proceed.
-
docker_prune_systemDestructiveRemove unused data (containers, networks, images, build cache). Requires confirmation for safety. First call without confirm to see what will be removed, then call again with co...
-
docker_prune_volumesDestructiveRemove unused volumes. Requires confirmation for safety. First call without confirm to see what will be removed, then call again with confirm=true to proceed.
-
docker_remove_containerDestructiveRemove a container. Requires confirmation for safety. First call without confirm to see container details, then call again with confirm=true to proceed.
-
docker_remove_imageDestructiveRemove an image. Requires confirmation for safety. First call without confirm to see image details, then call again with confirm=true to proceed.
-
docker_remove_networkDestructiveRemove a Docker network. Requires confirmation for safety. First call without confirm to see network details, then call again with confirm=true to proceed.
-
docker_remove_volumeDestructiveRemove a Docker volume. Requires confirmation for safety. First call without confirm to see volume details, then call again with confirm=true to proceed. Alternatively, uses MCP...
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.