Installation for Docker
Use CrackMapExec with Docker
CrackMapExec is docker friendly, it's easier and simple. You can use the image from the DockerHub or the Github repository.

1. Download and run the image

docker run -it --entrypoint=/bin/sh --name crackmapexec -v ~/.cme:/root/.cme Porchetta-Industries/crackmapexec

2. Restart the container

After exiting your container, you can restart it using the following command
docker start crackmapexec
docker exec -it crackmapexec sh
Happy pwn ! :)
Docker Hub