build.sh calls `podman build` inside the server container. DOCKER_HOST is a Docker CLI variable; Podman does not use it to automatically switch to remote mode. Without CONTAINER_HOST set, Podman runs locally inside the (unprivileged) container, has no user-namespace support, and lchown fails for any layer file owned by a non-zero GID (e.g. gid=42 for /etc/shadow). Setting CONTAINER_HOST=tcp://podman-proxy:2375 makes Podman automatically operate in remote mode and delegate all operations to the host Podman service, which has the correct subuid/subgid mappings and full user-namespace support. https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH |
||
|---|---|---|
| .. | ||
| .env.example | ||
| docker-compose.yml | ||
| Dockerfile.server | ||
| Makefile | ||
| start.sh | ||