Step cli docker image Run docker run -it --rm --user $(id -u):$(id -g) -v $(pwd):/out pierdipi/stepcli:0.13.3 /bin/bash Use cd /out && step The certificates generated in the /out directory of the container will be in the $(pwd) directory.