---
title: "Discussion on \"Docker container keeps restarting: how to find and fix it\" | Hashnode"
description: "Discussion on \"Docker container keeps restarting: how to find and fix it\". Docker container keeps restarting? Read the exit code, find the real error in the logs, stop the loop, and fix the 8 causes behind almost every restart loop."
url: "https://hashnode.com/posts/docker-container-keeps-restarting-how-to-find-and-fix-it/6b01e5897e53309ace75d0c5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker container keeps restarting: how to find and fix it](https://octave.hashnode.dev/docker-container-keeps-restarting-how-to-find-and-fix-it?utm_source=hashnode&utm_medium=feed)

Docker container keeps restarting? Read the exit code, find the real error in the logs, stop the loop, and fix the 8 causes behind almost every restart loop.

Nov 21 · 15 min read · octave.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)
-   [#debugging](https://hashnode.com/tag/debugging)

## Written by

[octave Nkurunziza](https://hashnode.com/@octave)

@octave

  
[View profile](https://hashnode.com/@octave)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
