Use kamal for existing images #1132
Replies: 3 comments 3 replies
-
If you're using an existing existing Docker image that wasn't built with Kamal, make sure to add |
Beta Was this translation helpful? Give feedback.
-
@AdalyatNazirov did you find a solution for this? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Recently, I solved this issue and successfully managed to skip the Kamal build step by directly using the latest image from Docker Hub. However, I still have a few unverified question, which I’ll list at the end. Basically, it’s the same approach eirvandelden mentioned earlier. Here are the steps:
That's it. I know this might feel a bit redundant, since you still have to update the Dockerfile, rebuild the image, and push it to Docker Hub. But it works well for my case. That’s because in my case, the build process is handled by a separate CI/CD pipeline that I can’t modify to handle deployments to multiple servers. So I introduced Kamal to handle deployments independently.
@AdalyatNazirov @edolix @eirvandelden I’m not sure if this is still useful to you, but I’ll leave it here in case someone Googles it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What i want to reach is to run existing docker image hosted on digitalocean registry.
I found
--skip-push
command option but still required me to setup builder/arch in config. Also I'm not sure which configuration parameters I have to use in that case. I think service and image? If that's true, cannot find a port option for this case (i need port to be opened other than 80/443.Any help or ideas are approciated
Beta Was this translation helpful? Give feedback.
All reactions