Skip to content

[Bug]: The official container is always restarting and the gateway is closed #51144

@foreved

Description

@foreved

Bug type

Crash (process/app exits or hangs)

Summary

I followed the official guidance to install openclaw in docker, and the container was created successfully. However, it was always restarting and the gateway was closed

Steps to reproduce

  1. git clone from the repo, and excuete the script ./script/docker/setup.sh
  2. make the same choice skip for now
  3. the container is created successfully, but it's trying to restart

Expected behavior

NOT_ENOUGH_INFO

Actual behavior

  1. Health check failed: gateway closed (1006 abnormal closure (no close frame)): no close reason
Image
  1. Container is restarting, wait until the container is running
Image
  1. docker logs ... shows the result below
Image

OpenClaw version

ghcr.io/openclaw/openclaw:latest

Operating system

Ubuntu 24.04

Install method

docker

Model

skip for now

Provider / routing chain

Keep current (default: anthropic/claude-opus-4-6)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions