Container runtime protection
Reviews container lifecycle, cleanup, execution, network, and persistent-data operations that can expose credentials or mutate host state.
command.container-runtime · v1.0.0 · Core safety
- Protection rules
- 32
- Permission checks
- 32
- Mapped commands
- 32
Overview
What this coverage does
Reviews container lifecycle, cleanup, execution, network, and persistent-data operations that can expose credentials or mutate host state.
Key facts
- Catalog ID
command.container-runtime- Version
- v1.0.0
- Kind
- Command coverage
- Category
- Core safety
- Protection rules
- 32
- Permission checks
- 32
- Mapped commands
- 32
- Maintainer
- HOL Guard Team(project-maintained)
- Source commit
- ff3d4eb
- Protection model
- Built-in coverage
This coverage is built into the native Guard runtime.
Stated limits
- Coverage is limited to the reviewed operations and the surrounding Guard policy.
- A maintainer profile is not a security certification or an official upstream endorsement.
Command mapping
Every command this extension recognizes, with the catalog default floor Guard applies before workspace policy. Search the table, then open an operation for safe variants and the permission ID.
32 operations · 32 reviewed by default These are catalog defaults, not your workspace policy.
Showing 32 of 32 operations
- Reviewed Guard intercepts the command for review before it runs.Critical
docker compose down --volumes
Compose persistent-data cleanup
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies Compose cleanup that explicitly removes volumes or images in addition to services.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.compose-destructive-cleanup
- Reviewed Guard intercepts the command for review before it runs.Critical
docker kill api
Container kill
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies immediate signal delivery to running containers, including the default SIGKILL.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-kill
- Reviewed Guard intercepts the command for review before it runs.Critical
docker exec --privileged api sh
Privileged container command execution
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies command execution with extended privileges inside an existing container or service.
- Permission ID
- command.container-runtime.permission.privileged-exec
- Reviewed Guard intercepts the command for review before it runs.Critical
docker run --privileged
Privileged container execution
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies containers launched with broad host-level privileges.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.privileged-run
- Reviewed Guard intercepts the command for review before it runs.Critical
docker service rm api
Swarm resource removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies deletion of Swarm services, stacks, nodes, secrets, or configs.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.swarm-resource-removal
- Reviewed Guard intercepts the command for review before it runs.Critical
docker volume prune -a
Container volume prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies bulk deletion of unused local volumes.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.volume-prune
- Reviewed Guard intercepts the command for review before it runs.Critical
docker volume rm app-data
Container volume removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies deletion of named local volumes and their persisted data.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.volume-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker buildx prune -a
Container build-cache prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies deletion of Docker builder or Buildx cache data.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.build-cache-prune
- Reviewed Guard intercepts the command for review before it runs.High
docker buildx rm old-builder
Buildx builder removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies removal of Buildx builder instances and their local state.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.buildx-builder-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker cp api:/app/output ./output
Container file copy
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Copies files between a container and the host, which can expose data or overwrite files.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-copy
- Reviewed Guard intercepts the command for review before it runs.High
docker container create --privileged alpine
Container creation
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Creates a container with the requested image, mounts, privileges, and environment.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-create
- Reviewed Guard intercepts the command for review before it runs.High
docker exec api sh -lc 'id'
Container command execution
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies arbitrary command execution inside an existing running container.
- Permission ID
- command.container-runtime.permission.container-exec
- Reviewed Guard intercepts the command for review before it runs.High
docker pause api
Container pause or unpause
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Suspends or resumes all processes in a container.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-pause
- Reviewed Guard intercepts the command for review before it runs.High
docker container prune
Stopped-container prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies bulk deletion of stopped containers.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-prune
- Reviewed Guard intercepts the command for review before it runs.High
docker rm api
Container removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies removal of named containers after they have been stopped.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker restart api
Container restart
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Restarts containers and interrupts their running workloads.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-restart
- Reviewed Guard intercepts the command for review before it runs.High
docker stop api
Container stop
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies stopping running containers, which can interrupt active workloads.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-stop
- Reviewed Guard intercepts the command for review before it runs.High
docker update --memory 512m api
Container configuration change
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Changes an existing container's resource limits, restart policy, or name.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.container-update
- Reviewed Guard intercepts the command for review before it runs.High
cat ~/.docker/config.json
Container credential access
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies reads of local container client authentication configuration.
- Permission ID
- command.container-runtime.permission.docker-config-access
- Reviewed Guard intercepts the command for review before it runs.High
docker run -v ~/.aws:/root/.aws alpine
Sensitive container operation
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies container operations that can expose credentials or mutate protected state.
- Permission ID
- command.container-runtime.permission.docker-sensitive
- Reviewed Guard intercepts the command for review before it runs.High
docker rm --force
Forced container removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies forced removal that can terminate a running container without a graceful stop.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.forced-container-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker image prune -a
Container image prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies bulk deletion of unused container images.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.image-prune
- Reviewed Guard intercepts the command for review before it runs.High
docker image push example/app:v1
Container image publication
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Publishes image layers or manifests to a registry.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.image-publication
- Reviewed Guard intercepts the command for review before it runs.High
docker image rm app:old
Container image removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies deletion of local container images by ID, tag, or alias command.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.image-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker image tag app:v1 app:latest
Container image change
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Imports, loads, commits, or retags local container images.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.image-state-change
- Reviewed Guard intercepts the command for review before it runs.High
docker logout registry.example.com
Container registry logout
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Removes stored authentication for a container registry.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.logout
- Reviewed Guard intercepts the command for review before it runs.High
docker network disconnect app-net api
Container network change
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Creates a container network or connects or disconnects a container.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.network-change
- Reviewed Guard intercepts the command for review before it runs.High
docker network prune
Container network prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies bulk deletion of unused Docker networks.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.network-prune
- Reviewed Guard intercepts the command for review before it runs.High
docker network rm app-net
Container network removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies deletion of Docker networks that can disconnect dependent workloads.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.network-removal
- Reviewed Guard intercepts the command for review before it runs.High
docker service scale api=0
Swarm workload or membership change
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Changes Swarm membership, service workloads, or stack deployments.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.swarm-change
- Reviewed Guard intercepts the command for review before it runs.High
docker system prune
Container system prune
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies broad cleanup of unused containers, networks, images, build cache, and optional volumes.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.system-prune
- Reviewed Guard intercepts the command for review before it runs.High
docker volume create app-data
Container volume creation
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Creates a persistent volume, potentially using a driver with host or network access.
- Documented safe variants
Command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.container-runtime.permission.volume-create
Tool state mapping
No per-tool overrides are declared. Command defaults above resolve through the workspace Guard policy unless a later policy layer changes them.
Runtime identity
- Catalog ID
- command.container-runtime
- Guard enforcement ID
- command.container-runtime
- Source path
- contributions/extensions/command.container-runtime.json
- Contribution digest
sha256…561c6d
Action classes
docker-sensitive commandDocker client config accessTechnical profile
No independent profile published
This extension has no current independent technical profile. Catalog facts and any legacy launch remain separate and are not presented as profile evidence.
FAQ
Frequently asked questions
Reviews container lifecycle, cleanup, execution, network, and persistent-data operations that can expose credentials or mutate host state. The listing declares 32 rules and 32 permission checks. 32 operations · 32 reviewed by default. Coverage is limited to these reviewed operations and the surrounding Guard policy.
Built-in coverage: This coverage is built into the native Guard runtime. Enabling state is always controlled through Guard policy, never from this directory.
This listing is maintained by the HOL Guard project itself as part of the native runtime catalog.
No. Every listing documents source, activation model, maintainer identity, and stated limitations so you can evaluate coverage before enabling it. Review the stated limitations and the exact source tree before relying on any single control.
32 operations · 32 reviewed by default. Examples: docker compose down --volumes (reviewed by default); docker kill api (reviewed by default); docker exec --privileged api sh (reviewed by default); docker run --privileged (reviewed by default); docker service rm api (reviewed by default); docker volume prune -a (reviewed by default); docker volume rm app-data (reviewed by default); docker buildx prune -a (reviewed by default). The remaining 24 operations are listed in the command mapping table. These are catalog defaults, not your workspace policy.
This coverage is built into the native Guard runtime. Enablement is managed through your workspace's Guard policy and controls — never from this directory. Open the install guidance for the setup flow, then adjust the command coverage for command.container-runtime in Guard's policy surface.
The matching action is stopped at Guard's pre-action boundary before it executes, and the decision is recorded with evidence your workspace can review. Exact behavior follows your Guard policy combined with this entry's 32 rules and 32 permission checks.
No. Guard is local-first: interception, decisions, and evidence stay on your machine unless your workspace explicitly configures cloud features. This page is documentation only — it never executes a command or changes protection state.
Guard runs locally alongside the major AI coding agents and MCP-capable harnesses, so this coverage applies wherever Guard intercepts actions. See the supported harness guides at https://hol.org/guard/harnesses for per-tool approval behavior and limitations.
Guard has a free local tier that includes command interception, evidence, and the policy controls this listing documents. Team plans add shared policy, review queues, and audit surfaces. Current plans: https://hol.org/guard/pricing
Open an issue or pull request against the hol-guard repository, where the canonical catalog lives: https://github.com/hashgraph-online/hol-guard Listings are corrected through the same public review process that adds them.
Yes — community coverage is accepted through public pull requests with recorded provenance. Project-maintained listings like this one are extended by the HOL Guard team; propose new operations through the hol-guard repository.
The command mapping table is the audit trail for covered commands and catalog default floors. Pair it with the reviewed rule and permission counts, the per-tool state mapping, and the exact source tree linked from View exact source at the reviewed commit. Guard records enforcement decisions with evidence locally, so what ships matches what you reviewed.