Stops the running n8n container and deletes it, which is the documented upgrade flow before starting a fresh one from a new image. The named volume is untouched, so workflows and credentials survive. Start the replacement with the same docker run command afterwards.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.