Skip to content

What's te difference between kamal deploy and kamal redeploy? #1288

Answered by Ecno92
fabriciocarboni asked this question in Q&A
Discussion options

You must be logged in to vote

kamal redeploy only updates the app, but does not setup the proxy.
kamal deploy does setup the proxy and update the app.

kamal setup does what deploy does, but before doing so it also assures Docker is installed and accessories are booted.

If you check out the source of lib/kamal/cli/main.rb then you get an idea of what is being done.

Hopefully checking out the source of kamal helps you to identify why your environment is in such a weird state.

What I remember from similar issues is that it might help to check the logs of the failed container and fix the root cause. Finding the container which failed can be done on the host by executing docker ps -a, then you can see the logs by executing d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fabriciocarboni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants