refactor(images): pull from registry instead of building; add build.sh for local dev

This commit is contained in:
docker-claude 2026-04-15 17:02:43 +02:00
parent ff9ed447c0
commit 2d822305d1
6 changed files with 48 additions and 18 deletions

View file

@ -92,11 +92,12 @@ Then run `./claude.sh run` and follow the prompt. Credentials are stored in the
### CLI mode
```bash
# Build images, start proxy, launch Claude Code in the current directory
# Start proxy, launch Claude Code in the current directory
# (pulls images from registry.zeidler.dev on first run)
cd ~/myproject
./claude.sh start
# Start proxy if needed, launch Claude Code (faster on subsequent runs)
# Start proxy if needed, launch Claude Code
./claude.sh run
```
@ -123,13 +124,22 @@ sbx ports <sandbox-name> --publish 7681:7681/tcp
```bash
./claude.sh stop # Stop and remove all containers
./claude.sh update # Rebuild images without cache
./claude.sh update # Pull latest images from the registry
./claude.sh logs # Tail proxy logs
./claude.sh logs webui # Tail web interface logs
./claude.sh status # Show container status
./claude.sh shell # Debug bash shell in the Claude container
```
### Building locally
`build.sh` builds both images from source using the local Dockerfiles:
```bash
./build.sh # build with layer cache
./build.sh --no-cache # force full rebuild
```
### Workspace
| Mode | Workspace |