$ 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
$ 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