-
-
Notifications
You must be signed in to change notification settings - Fork 925
Description
EDIT:
To switch to the images on ghcr.io.
- Stop the containers
docker-compose down
- Create the file
.env
in the same folder asdocker-compose.yml
with the contents:
DOCKER_ORG=ghcr.io/mailu
- Start the containers.
docker-compose up -d
- Check that the images from ghcr.io are used.
docker-compose ps
❗ Mailu 2.0 has been released! ❗
It is recommend to switch to Mailu 2.0. Please read https://mailu.io/2.0/releases.html before making the switch.
old post:
https://blog.alexellis.io/docker-is-deleting-open-source-images/
https://news.ycombinator.com/item?id=35166317
Docker has decided to shutdown all 'Free Team organizations'. Mailu also makes use of this. So we have to move to a different registry for the production images. Ghcr.io (github) is already used for everything but the 1.9 images.
To use it, prefix the image path with ghcr.io. E.g.
Instead of docker pull mailu/admin:master
use: docker pull ghcr.io/mailu/admin:master
or for testing images: docker pull ghcr.io/mailu/admin:pr-2703
Tasks that must be done for switching:
- Modify the CI.yml (github action) to only use ghcri.io. So modify the step for copying images from ghcr.io to docker hub.
- Update setup (docker-compose.yml template) to use ghcri.io.
- Update instructions in the documentation to use ghcr.io. At least the section describing how to pull PR images must be modified.
After the switch has been made, we have to decide if we remove all images from docker. This should give a wake up call to people who never visit the website.