Visitar URL original
GitHub - feixiao/ubuntu_docker: 日常使用的docker镜像备忘 · GitHub
Skip to content

About

日常使用的docker镜像备忘

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

116 Commits

Folders and files

Repository files navigation

Ubuntu_docker

构建日常使用的镜像。

运行

docker run --platform linux/amd64 -p 60022:22 \
    --add-host host.docker.internal:host-gateway \
    --restart=unless-stopped \
    --name="workbench_2504" -v ~/volume/workbench:/home/frank/workspace \
    -itd -t feixiao/workbench_2504:1.0

# Docker 提供了一个特殊域名 host.docker.internal,指向宿主机的 IP

可用镜像

Quick reference:
  Dashboard:      http://localhost:18790/?token=YOUR_TOKEN
  GET TOKEN:      http://localhost:18790/?token=YOUR_TOKEN
  Config:         ~/.openclaw/
  Workspace:      cat ~/.openclaw/openclaw.json| grep 'token:' | grep -v 'mode' | cut -d '"' -f4
  Install dir:    /Users/frank/openclaw

Useful commands:
  View logs:      docker logs -f openclaw-gateway
  Stop:           cd /Users/frank/openclaw && docker compose down
  Start:          cd /Users/frank/openclaw && docker compose up -d openclaw-gateway
  Restart:        cd /Users/frank/openclaw && docker compose restart openclaw-gateway
  CLI:            cd /Users/frank/openclaw && docker compose run --rm openclaw-cli <command>
  Update:         docker pull ghcr.io/phioranex/openclaw-docker:latest && cd /Users/frank/openclaw && docker compose up -d

参考资料

About

日常使用的docker镜像备忘

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages