{"id":50017607,"url":"https://github.com/ozbillwang/openclaw-in-docker","last_synced_at":"2026-06-30T04:02:00.224Z","repository":{"id":338911978,"uuid":"1158209545","full_name":"ozbillwang/openclaw-in-docker","owner":"ozbillwang","description":"Run OpenClaw (MoltBot, ClawdBot) Safely with Docker: A Practical Guide for Beginners","archived":false,"fork":false,"pushed_at":"2026-04-04T01:38:30.000Z","size":11,"stargazers_count":61,"open_issues_count":7,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-24T00:02:53.269Z","etag":null,"topics":["ai","ai-agents","best-practices","docker","openclaw","tutorials"],"latest_commit_sha":null,"homepage":"https://medium.com/p/bf75c4eb1887","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozbillwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-15T01:02:33.000Z","updated_at":"2026-05-21T19:01:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"4eb62278-7239-47f8-afa0-7dd02d34fc3c","html_url":"https://github.com/ozbillwang/openclaw-in-docker","commit_stats":null,"previous_names":["ozbillwang/openclaw-in-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ozbillwang/openclaw-in-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozbillwang%2Fopenclaw-in-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozbillwang%2Fopenclaw-in-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozbillwang%2Fopenclaw-in-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozbillwang%2Fopenclaw-in-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozbillwang","download_url":"https://codeload.github.com/ozbillwang/openclaw-in-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozbillwang%2Fopenclaw-in-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34951598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","best-practices","docker","openclaw","tutorials"],"created_at":"2026-05-20T05:01:16.866Z","updated_at":"2026-06-30T04:02:00.188Z","avatar_url":"https://github.com/ozbillwang.png","language":"Shell","funding_links":[],"categories":["Tutorials \u0026 Guides","Open Source Projects"],"sub_categories":["Serverless \u0026 Docker","Hosting Platforms"],"readme":"# OpenClaw in Docker (Beginner-Friendly)\n\nThis guide helps you run OpenClaw quickly and safely with Docker.\n\n## 0) Quick Environment Check\n\nBefore You Start, make sure your machine has:\n\n* [Docker installed](https://docs.docker.com/get-started/introduction/get-docker-desktop/)\n* Bash v4+ (For example, MacOS with bash v3 only, you need upgrade with command\n```\nbrew install bash\n```\n## 1) Clone this repository (HTTPS)\n\nUse HTTPS so you don’t need to configure SSH or `git://`.\n\n```bash\ngit clone https://github.com/ozbillwang/openclaw-in-docker.git\ncd openclaw-in-docker\n```\n\n## 2) Set the OpenClaw Docker image\n\nDefault:\n\n```bash\nexport OPENCLAW_IMAGE=\"alpine/openclaw:latest\"\n```\n\n\u003e Note: recently, `latest` has had issues for some users, no models you can choice.\n\u003e If you hit problems, switch to:\n\n```bash\nexport OPENCLAW_IMAGE=\"alpine/openclaw:main\"\n```\n\n## 3) Run the setup script\n\n```bash\n./docker-setup.sh\n```\n\nThis script will:\n\n* pull openclaw gateway image\n* Launch an onboarding wizard\n* Start the gateway via Docker Compose\n* Generate a gateway token and store it in .env\n---\n\n### 4) Upgrade OpenClaw\nWhen a new version is released, pull the latest image and restart the service:\n```\ndocker pull alpine/openclaw:latest\ndocker-compose down\ndocker-compose up -d\n```\nNo worried, the configuration file ( `~/.openclaw/openclaw.json`) will not be affected. However, it’s good practice to back it up and store it in a safe location before upgrading.\n\n## Onboarding screenshots (for beginners)\n\nYou can use the onboarding screenshots from this blog post:\n\n- [Run OpenClaw (MoltBot, ClawdBot) Safely with Docker: A Practical Guide for Beginners](https://medium.com/p/94112a9b57be)\n- [Running OpenClaw with a Local LLM on a Mac mini (No API Cost)](https://medium.com/p/fb3857f73e0b)\n\n---\n\n## Quick troubleshooting\n\n- If startup fails with `latest`, switch to `main` and rerun setup.\n- Make sure Docker is running before executing `./docker-setup.sh`.\n- Re-run the script after changing `OPENCLAW_IMAGE`.\n- Reguarly backup `~/.openclaw/openclaw.json` on your host server, before upgrade or re-install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozbillwang%2Fopenclaw-in-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozbillwang%2Fopenclaw-in-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozbillwang%2Fopenclaw-in-docker/lists"}