Skip to content

🐞 [Bug]: [Registrar]: missing -e when passing parameters in postgres docker command in makefile #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hossnys opened this issue Jan 26, 2025 · 0 comments
Assignees

Comments

@hossnys
Copy link

hossnys commented Jan 26, 2025

What happened?

root@devregistrar:~/tfgrid-sdk-go/node-registrar# make postgres
docker run --name postgres -e POSTGRES_USER=postgres POSTGRES_PASSWORD=password POSTGRES_DB=postgres -p 5432:5432 -d postgres
docker: invalid reference format: repository name (library/POSTGRES_PASSWORD=password) must be lowercase.
See 'docker run --help'.
make: *** [Makefile:5: postgres] Error 125
  • it needs to have -e before each env variable passed to docker command or pass all of them in .env file and use this flag to pass it to docker --env-file

Relevant log output

docker: invalid reference format: repository name (library/POSTGRES_PASSWORD=password) must be lowercase.
See 'docker run --help'.
make: *** [Makefile:5: postgres] Error 125
@hossnys hossnys added the type_bug Something isn't working label Jan 26, 2025
@hossnys hossnys changed the title 🐞 [Bug]: [Registrar]: missing -e when passing parameters in postgres docker command im makefile 🐞 [Bug]: [Registrar]: missing -e when passing parameters in postgres docker command in makefile Jan 26, 2025
@rawdaGastan rawdaGastan removed the type_bug Something isn't working label Jan 26, 2025
@xmonader xmonader removed this from 3.16.x Feb 13, 2025
@rawdaGastan rawdaGastan transferred this issue from threefoldtech/tfgrid-sdk-go Mar 6, 2025
@Eslam-Nawara Eslam-Nawara self-assigned this May 14, 2025
@Eslam-Nawara Eslam-Nawara moved this to In Verification in 3.16.x May 14, 2025
@Eslam-Nawara Eslam-Nawara removed this from 3.16.x May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants