B
bertin.louis7
November 19, 2025
Kamal 2 - Déployer sans Docker Hub
Article
Français
Avant la version 2.8.2, il était nécessaire d'avoir un compte Docker Hub et fournir ses identifiants à Kamal pour déployer son app.
Maintenant, un registry local peut le remplacer.
Avant
Maintenant, un registry local peut le remplacer.
Avant
# Credentials for your image host.
registry:
# Specify the registry server, if you're not using Docker Hub
# server: registry.digitalocean.com / ghcr.io / ...
username: louisbertin
# Always use an access token rather than real password when possible.
password:
- KAMAL_REGISTRY_PASSWORDMaintenant
# Credentials for your image host. registry: # local registry server: localhost:5555
⚠️ il était nécessaire pour moi de run la commande `kamal registry setup` pour créer le registry local. Sinon on a une erreur au déploiement. Le registry est visible avec la commande `docker ps`
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f96503c6ff66 registry:3 "/entrypoint.sh /etc…" 8 minutes ago Up 8 minutes 127.0.0.1:5555->5000/tcp kamal-docker-registry
B
bertin.louis7
Auteur de cet article