howdy!
➜ Damn-Vulnerable-RESTaurant-API-Game git:(main) ✗ system_profiler SPSoftwareDataType SPHardwareDataType
Software:
System Software Overview:
System Version: macOS 14.3.1 (23D60)
Kernel Version: Darwin 23.3.0
note: using colima
(Mac OS container runtime) instead of Docker desktop, follow the instructions "Running the Application - Ethical Hackers Approach"
➜ Damn-Vulnerable-RESTaurant-API-Game git:(main) ✗ chmod +x ./start_app.sh
➜ Damn-Vulnerable-RESTaurant-API-Game git:(main) ✗ sudo ./start_app.sh
WARN[0000] /Users/adam/git/Damn-Vulnerable-RESTaurant-API-Game/docker-compose.yml: `version` is obsolete
[+] Running 1/0
✔ Container damn-vulnerable-restaurant-api-game-db-1 Creat... 0.0s
Attaching to db-1, web-1
db-1 | chown: /var/lib/postgresql/data: Permission denied
db-1 exited with code 1
dependency failed to start: container damn-vulnerable-restaurant-api-game-db-1 exited (1)
this looks to be an issue with postgres
and not necessarily this docker compose.. i think the script requires updating to run elevated privileges on postgres, see:
zalando/postgres-operator#676
any assistance much appreciated, tyia!