This project helps you to remove containers/networks/volumes/images by given filter after specified delay.
Usage
Start it:
$ RYUK_PORT=8080 ./bin/moby-ryuk
$ # You can also run it with Docker
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -e RYUK_PORT=8080 -p 8080:8080 testcontainers/ryuk:0.6.0
RYUK_CONNECTION_TIMEOUT - Environment variable that defines the timeout for Ryuk to receive the first connection (default: 60s). Value layout is described in time.ParseDuration documentation.
RYUK_PORT - Environment variable that defines the port where Ryuk will be bound to (default: 8080).
RYUK_RECONNECTION_TIMEOUT - Environment variable that defines the timeout for Ryuk to reconnect to Docker (default: 10s). Value layout is described in time.ParseDuration documentation.
RYUK_VERBOSE - Environment variable that defines if Ryuk should print debug logs (default: false).