https://github.com/screwdriver-cd/buildkit-rootless
https://github.com/screwdriver-cd/buildkit-rootless
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/screwdriver-cd/buildkit-rootless
- Owner: screwdriver-cd
- License: bsd-3-clause
- Created: 2025-07-08T00:00:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-17T18:06:44.000Z (11 months ago)
- Last Synced: 2025-07-17T21:51:02.551Z (11 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# buildkit-rootless
[![Build Status][build-image]][build-url]
[![Latest Release][version-image]][version-url]
[![Open Issues][issues-image]][issues-url]
This container image launches a rootless BuildKit daemon inside Screwdriver.cd build environments. It is based on the rootless variant of [moby/buildkit](https://github.com/moby/buildkit), with the following modifications:
- Additional TLS-related scripts to enable secure (TLS) communication.
- A default buildkitd.toml configuration file for convenient, out-of-the-box usage.
By running this image, you can take advantage of Docker builds in a rootless context, helping to maintain a more secure and isolated environment.
## Usage
### Docker
```bash
## run buildkitd container
$ docker run -d -p 1234:1234 --name buildkit-container screwdrivercd/buildkit-rootless --addr tcp://0.0.0.0:1234
## create remote builder in buildkitd container
$ docker buildx create --name remote-buildkit --driver remote tcp://localhost:1234
## build image with remote builder
$ docker buildx use remote-buildkit
$ docker buildx build -t /: --push .
```
## License
Code licensed under the BSD 3-Clause license. See [LICENSE](./LICENSE) file for terms.
[build-image]: https://cd.screwdriver.cd/pipelines/15783/badge
[build-url]: https://cd.screwdriver.cd/pipelines/15783
[version-image]: https://img.shields.io/github/tag/screwdriver-cd/buildkit-rootless.svg
[version-url]: https://github.com/screwdriver-cd/buildkit-rootless/releases
[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/screwdriver.svg
[issues-url]: https://github.com/screwdriver-cd/screwdriver/issues