Switch from pulls-limited Docker Hub to Github Container Registry

This commit is contained in:
Simon Beginn 2021-10-21 13:26:34 +02:00
parent eb42224bf1
commit 5df5487604
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
2 changed files with 6 additions and 6 deletions

View file

@ -15,10 +15,10 @@ If you wish to get _py-kms_ just up and running without installing any dependenc
Docker also solves problems regarding the explicit IPv4 and IPv6 usage (it just supports both). The following
command will download, "install" and start _py-kms_ and also keep it alive after any service disruption.
```bash
docker run -d --name py-kms --restart always -p 1688:1688 -v /etc/localtime:/etc/localtime:ro pykmsorg/py-kms
docker run -d --name py-kms --restart always -p 1688:1688 -v /etc/localtime:/etc/localtime:ro ghcr.io/py-kms-organization/py-kms
```
If you just want to use the image and don't want to build them yourself, you can always use the official image at the [Docker Hub](https://hub.docker.com/r/pykmsorg/py-kms) (`pykmsorg/py-kms`). To ensure that you are using always the
latest version you should check something like [watchtower](https://github.com/containrrr/watchtower) out !
If you just want to use the image and don't want to build them yourself, you can always use the official image at the [Docker Hub](https://hub.docker.com/r/pykmsorg/py-kms) (`pykmsorg/py-kms`) or [GitHub Container Registry](https://github.com/Py-KMS-Organization/py-kms/pkgs/container/py-kms) (`ghcr.io/py-kms-organization/py-kms`). To ensure that you are using always the
latest version you should check something like [watchtower](https://github.com/containrrr/watchtower) out!
#### Tags
There are currently three tags of the image available (select one just by appending `:<tag>` to the image from above):
@ -43,7 +43,7 @@ version: '3'
services:
kms:
image: pykmsorg/py-kms:python3
image: ghcr.io/py-kms-organization/py-kms:python3
ports:
- 1688:1688
- 8080:8080
@ -67,7 +67,7 @@ docker run -it -d --name py3-kms \
-p 1688:1688 \
-e SQLITE=true \
-v /etc/localtime:/etc/localtime:ro \
--restart unless-stopped pykmsorg/py-kms:[TAG]
--restart unless-stopped ghcr.io/py-kms-organization/py-kms:[TAG]
```
You can omit the `-e SQLITE=...` and `-p 8080:8080` option if you plan to use the `minimal` or `latest` image, which does not include the respective module support.