I dont think you need dind ( docker in docker ) to do this. One approach i used is to mount the docker’s unix socket inside the targeted container. For example:
docker run -d -v /var/run/docker.sock:/var/run/docker.sock monitor-image
The docker client inside monitor-image will then be able to talk to the host /var/run/docker.sock