themayhem_
themayhem_
WWasp-lang
Created by themayhem_ on 8/22/2024 in #🙋questions
Docker Permission Denied when running "wasp start db"
Full Error Message: <USER>@DESKTOP-<stuff>:~/Projects/<saas-proj>/app$ wasp start db ✨ Starting a PostgreSQL dev database (based on your Wasp config) ✨ Additional info: ℹ Connection URL, in case you might want to connect with external tools: postgresql://postgresWaspDevUser:postgresWaspDevPass@localhost:5432/OpenSaaS-d41288806f ℹ Database data is persisted in a docker volume with the following name (useful to know if you will want to delete it at some point): wasp-dev-db-OpenSaaS-d41288806f ... docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=wasp-dev-db-OpenSaaS-d41288806f": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. wasp-bin: callCommand: docker run --name wasp-dev-db-OpenSaaS-d41288806f --rm --publish 5432:5432 -v wasp-dev-db-OpenSaaS-d41288806f:/var/lib/postgresql/data --env POSTGRES_PASSWORD=postgresWaspDevPass --env POSTGRES_USER=postgresWaspDevUser --env POSTGRES_DB=OpenSaaS-d41288806f postgres (exit 126): failed
12 replies