rules_docker
API—OSS—FREEyesDOCS4/5
RD5.9#17 of 32
—Web—WindowsoutMacoutLinux—Android—iOS
Ranked in Container Build Tools ·Free plan
About
rules_docker is ranked #17 of 32 in container build tools on Inferse. It runs on Linux, macOS. There is a free plan.
Compared on container build tools
- Free plan
- Yesgithub.com
- Build method
- daemonlessgithub.com
Facts
- Purpose
- rules_docker is a set of Bazel rules for pulling base images, adding build artifacts and assets, and publishing container images.github.com · 4 Oct 2026
- Docker dependency
- The basic image pull, build, and push rules do not require or use Docker.github.com · 4 Oct 2026
- Reproducibility
- The repository says images produced by container_image are deterministic and reproducible.github.com · 4 Oct 2026
- Language rules
- The project provides image rules for Python, Node.js, Java, Scala, Groovy, C++, Go, Rust, and D.github.com · 4 Oct 2026
- Container operations
- Basic rules include container_image, container_bundle, container_import, container_load, container_pull, and container_push.github.com · 4 Oct 2026
- Registry integration
- container_pull and container_push use google/go-containerregistry for registry interactions, and the README describes standard Docker authentication for private images.github.com · 4 Oct 2026
- Runtime base
- Higher-level language image rules use distroless language runtimes by default, with a configurable base attribute.github.com · 4 Oct 2026
- Package and run rules
- Additional rules can install apt-get packages and run commands inside containers, but they require a properly configured Docker binary.github.com · 4 Oct 2026
- Platform support
- The README says the rules can be used on OSX without boot2docker or docker-machine, while Windows use is not supported.github.com · 4 Oct 2026
- Workstation access
- The README says these rules do not require root access on the workstation.github.com · 4 Oct 2026
- Maintenance
- The repository says rules_docker is maintained on an as-needed basis and points users to rules_oci as an alternative.github.com · 4 Oct 2026
- Security reporting
- The security policy directs vulnerability reports to Google's g.co/vulnz intake and says the Google Security Team processes reports within a day and responds within a week, depending on severity.github.com · 4 Oct 2026
- License
- The repository is licensed under Apache License 2.0.github.com · 4 Oct 2026
- Notable limitation
- The README says language image rules do not expose Docker-related attributes, so adding a custom environment variable or symlink requires using a container_image target.github.com · 4 Oct 2026
Best rules_docker alternatives
See all 20Where it ranks on Inferse
- Best Container Build Tools in 2026#17 of 32
Sources
- github.com/bazelbuild/rules_docker· checked 4 Oct 2026
- github.com/bazelbuild/rules_docker/security· checked 4 Oct 2026
- github.com/bazelbuild/rules_docker/blob/master/LIC· checked 4 Oct 2026


