Minica on docker Docker image here Minica View repo here Usage $ docker run --user $(id -u):$(id -g) -it -v /your/desired/output/dir:/output ryantk/minica --domains foo.dev Then retreive your certificates: $ ls /your/desired/output/dir/foo.dev cert.pem key.pem