Your CI server running in a container that is itself executing Docker commands.
This way you don't need to grant "docker" group to the "ci" user and you avoid having your cluster compromised one commit away :)
I also never said that it requires two levels of Docker or that it requires DinD. I was responding to the general question of the parent who was asking a question of someone who was running DinD. I responded to the GP below that Kaniko also solves this problem so clearly I'm not advocating for running DinD or that this is even needed.