I want to run docker commands in a docker container that should work with Jenkins in a CI/CD pipeline.
I reached out some solutions on stackoverflow likeDocker Inside a Docker on Windows
but the command I copied from the top recommended answer is
docker run -it --rm --privileged --name dockerindocker -v //var/run/docker.sock:/var/run/docker.sock docker
It did not work for me, the shell inside the container shows
docker: not found
Did I miss something?