I would like to run tests in dagger that needs a redis instance.
So my idea is to start first a redis container, then run the tests and after the tests, stop the redis container again.
Is that possible with dagger (sorry if that is a silly trivial question, but I'm stuck with that 🥲 ).
I have here 2 main problems.
- How to wait till my redis instance is up? (redis blocks, so it never 'completes')
- How to stop the redis instance again? There is a
docker.#Runbut I couldn't find adocker.#Stop