Docker in Docker is not a waste of resources, they just make the same container runtime the container is running on available to it. Really a better solution than a control plane like Kubernetes.
https://medium.com/@moshedana058/understanding-docker-in-doc...