services:docker-mirror
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:docker-mirror [2020/12/14 17:50] – [Other Notes] djgalloway | services:docker-mirror [2021/01/20 15:50] (current) – [Renewing the SSL certiciate] djgalloway | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| # Then used parts of https:// | # Then used parts of https:// | ||
| mkdir /lrc/certs | mkdir /lrc/certs | ||
| - | openssl req -newkey rsa:4096 -nodes -sha256 -keyout / | + | openssl req -newkey rsa:4096 -nodes -sha256 -keyout / |
| docker run -d --restart=always -p 5000:5000 --name registry-mirror -e REGISTRY_HTTP_TLS_CERTIFICATE=/ | docker run -d --restart=always -p 5000:5000 --name registry-mirror -e REGISTRY_HTTP_TLS_CERTIFICATE=/ | ||
| Line 45: | Line 45: | ||
| ===== Admin Tasks ===== | ===== Admin Tasks ===== | ||
| ==== Renewing the SSL certiciate ==== | ==== Renewing the SSL certiciate ==== | ||
| - | The first time I created the cert, I accidentally left the date out so the cert was only good for a month. | + | The first time I created the cert, I accidentally left the date out so the cert was only good for a month. |
| - | - '' | + | - '' |
| - Copy the contents of ''/ | - Copy the contents of ''/ | ||
| - Run '' | - Run '' | ||
services/docker-mirror.1607968203.txt.gz · Last modified: by djgalloway
