The current
postgres:17-alpine image contains tab characters in DOCKER_PG_LLVM_DEPS. Passing -e DOCKER_PG_LLVM_DEPS= is a temporary compatibility workaround for microsandbox’s guest environment validation.Run PostgreSQL
1
Start PostgreSQL
Set a demo password in the host shell:Start the database:With no command after the image, microsandbox runs the image’s declared
docker-entrypoint.sh postgres command in the background.2
Wait for readiness
3
Run a query
examples and PostgreSQL 17.10.Applications on the host can connect to 127.0.0.1:55432 with the same database, user, and password.4
Clean up or keep the data
Remove the VM while keeping its database:Remove the database volume only when you no longer need its contents:Clear the password from the host shell: