Skip to content

Instantly share code, notes, and snippets.

View kevmo's full-sized avatar
📢

kevin moore kevmo

📢
View GitHub Profile
@kevmo
kevmo / SSL-certs-OSX.md
Created April 7, 2021 16:26 — forked from croxton/SSL-certs-OSX.md
Generate ssl certificates with Subject Alt Names

Generate ssl certificates with Subject Alt Names on OSX

Open ssl.conf in a text editor.

Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.

DNS.1   = my-project.dev

Additional FQDNs can be added if required:

@kevmo
kevmo / run-docker-without-sudo.md
Last active January 27, 2023 20:36
# Run Docker Without Sudo

Have you seen this error:

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

?

Run Docker commands without sudo