What is the difference between Restart and Redeploy? #2935
Replies: 5 comments
-
Confused by this also! |
Beta Was this translation helpful? Give feedback.
-
Wow, no answer in 6 month? Cool... |
Beta Was this translation helpful? Give feedback.
-
It would be great with a simple explainer tooltip over them. A thing I would like clarified is if a redeploy closes the server while the redeployment happens. Also, if the redeployment fails, will it keep my current instance running? |
Beta Was this translation helpful? Give feedback.
-
As far as I can make out a restart would just restart the container. A redeploy probably does a rebuild? |
Beta Was this translation helpful? Give feedback.
-
Yeah, not entirely clear in the docs, although there are hints in the source code. Behaviour for swarm mode is also different, but for your regular deployment: It appears that "redeploy" will rebuild the docker image, whereas "restart" won't. We should add an entry to the FAQ (will do when I find time, but all welcome): |
Beta Was this translation helpful? Give feedback.
-
Hello 👋
What is the difference between the Restart and Redeploy buttons?
It looks like they do the same thing currently and that is to start a deployment.
When I first saw the restart button, I tought it stops the app process, and start it again. But that is not what the button actually do! It looks like it just triggers a deployment. And that is what the "redeploy" button also does.
So what is the difference and when should I use which button?
Beta Was this translation helpful? Give feedback.
All reactions