Troubleshooting¶
docker compose asks for variables¶
Create .env from .env.example and set the passwords.
The subnet overlaps with an existing network¶
Set PUBLIC_SUBNET, PRIVATE_SUBNET and the IP variables in .env to a free range, keeping every address inside its subnet.
The gateway cannot change iptables¶
The gateway needs the NET_ADMIN and NET_RAW capabilities, which docker-compose.yml grants. Rootless Docker, some hardened hosts and some CI runners do not allow them.
volume subpath is not supported¶
Docker Engine 26 or newer is required for the subpath mounts that give each container its own credential bundle. Check with docker version.
The demo fails at step 4¶
Look at the gateway logs right after sending the SPA packet:
- No
SPA Packet from IPline: the packet did not reach the gateway. CheckGATEWAY_IPand that the client and the gateway sharesdp-public. SPA Packet ... receivedbut no rules added: the client's keys do not match the gateway's access list. This happens when credentials are regenerated for only one side, for example after deleting a single volume. Reset everything withdocker compose down -v.- Rules added but the request times out: check that
protected-serviceis running and thatPROTECTED_SERVICE_IPmatches its address.
The database was initialized with wrong data¶
The seed runs only on the first start. Remove the volumes to start again: