https://github.com/phxql/testcontainers-playground
https://github.com/phxql/testcontainers-playground
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phxql/testcontainers-playground
- Owner: phxql
- Created: 2021-06-17T13:38:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-17T15:55:41.000Z (about 5 years ago)
- Last Synced: 2025-02-25T18:47:50.620Z (over 1 year ago)
- Language: Java
- Size: 54.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testcontainers playground
Testing rootless docker with testcontainers.
1. Install [rootless docker](https://docs.docker.com/engine/security/rootless/)
1. Start rootless docker: `systemctl --user start docker` or `dockerd-rootless.sh`
1. Run tests: `./mvnw test`
## Findings
* Testcontainers works with rootless-docker
* Rootless docker in a docker image
needs `--privileged`: [See here](https://docs.docker.com/engine/security/rootless/#rootless-docker-in-docker)
* Sysbox [supports running docker in docker](https://blog.nestybox.com/2019/09/13/system-containers.html)
without `--privileged`