Using atlas cli local deployment feature in a docker-compose based automatic testing environment
Is it possible to use this in a CI based on docker compose for automated testing?
I appreciate your message and your request.
I'd like to shed some light on the Local Development solution for Atlas, Atlas Search, and Vector Search through the Atlas CLI. This solution relies on containers as the foundation for setting up local Atlas deployments. However, it's important to note that if you run it within a Docker container, you'll find yourself dealing with a concept known as Podman in Docker (PIND).
In our current Public Preview release, we offer support for various configurations, but running the Local Development in a Docker container isn't part of the supported options.
Nonetheless, there's a helpful resource that guides you on how to work with such a setup, which you can find here: https://www.redhat.com/sysadmin/podman-inside-container
For your convenience, you can already run the Local Development in CI/CD workflows when working with the Atlas CLI directly. It provides a scriptable approach to executing all the necessary commands using flags.
Looking ahead, we are actively exploring ways to make it more straightforward for Docker users to enjoy the Local Development experience from within a container.
Thank you for your understanding and your interest.