You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Uh oh!
There was an error while loading. Please reload this page.
What happened?
-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
The text was updated successfully, but these errors were encountered: