Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunopadz/mkcert-docker
Run mkcert from a docker container
https://github.com/brunopadz/mkcert-docker
Last synced: 5 days ago
JSON representation
Run mkcert from a docker container
- Host: GitHub
- URL: https://github.com/brunopadz/mkcert-docker
- Owner: brunopadz
- Created: 2019-03-01T13:12:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T21:14:45.000Z (about 1 year ago)
- Last Synced: 2024-04-15T01:18:02.434Z (7 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/brunopadz/mkcert-docker
- Size: 2.93 KB
- Stars: 18
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mkcert-docker
> A fast and simple way to generate CA and SSL certificates for your local dev environment
### How to run
__Create CA and PEM certificate__
```
docker run -v $PWD:/root/.local/share/mkcert brunopadz/mkcert-docker:latest \
/bin/sh -c "mkcert -install && \
mkcert -cert-file /root/.local/share/mkcert/mkcert.pem \
-key-file /root/.local/share/mkcert/mkcert.key localhost.dev"
```### Why?
Well, because it's faster running a docker container than installing via and running using your package manager.