Is it possible to deploy without a docker registry? #510
-
I have a very fast internet connection (> 1Gbit) and the project I work on is very budget sensitive on the hosting side. After some research, it seems to be trivial to "push" a docker image over ssh: docker save app:1.0 | gzip | DOCKER_HOST=ssh://user@remotehost docker load (source) Is it possible to do something similar with Kamal? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Not sure if this is helpful, but another option is installing a docker registry in the machine you are deploying to: It surely adds some complexity though |
Beta Was this translation helpful? Give feedback.
-
This would be nice to have. This was my biggest surprise with Kamal. I was expecting its default to be sans-registry. |
Beta Was this translation helpful? Give feedback.
-
Just to add to going the route of managing as an accessory with Kamal. The registry container is pretty flexible with how you want to host it and there's a bunch of documentation around it too. Kamal is great at booting up existing container images and managing the lifecycle of those. https://distribution.github.io/distribution/about/deploying/ You'd want to ensure authentication is in place and preferably it's firewalled appropriately as well, something like this though with the additional ENV options in place for auth.
|
Beta Was this translation helpful? Give feedback.
Not sure if this is helpful, but another option is installing a docker registry in the machine you are deploying to:
https://distribution.github.io/distribution/
It surely adds some complexity though