- Notifications
You must be signed in to change notification settings - Fork1.2k
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I am using docker compose on windows 10, 64 here is the source code #postgres#pgadminversion:'3.8'services:postgres:image:postgres:13container_name:postgresrestart:on-failureenvironment:POSTGRES_USER:postgresPOSTGRES_PASSWORD:postgresPOSTGRES_DB:postgresports: -'5432:5432'volumes: -postgres:/var/lib/postgresql/datahealthcheck:test:['CMD', 'pg_isready', '-U', 'auth']interval:30stimeout:30sretries:3pgadmin:image:dpage/pgadmin4container_name:pgadminrestart:on-failureenvironment:PGADMIN_DEFAULT_EMAIL:admin@example.comPGADMIN_DEFAULT_PASSWORD:adminports: -'5050:80' -'5051:443'volumes:postgres: here is the error $docker-compose upStarting pgadmin ... doneStarting postgres ... doneAttaching to pgadmin, postgrespostgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation.pgadmin | postfix/postlog: starting the Postfix mail systempostgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation.postgres exited with code 1postgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation.postgres exited with code 1postgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation.postgres exited with code 1postgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation.postgres exited with code 1postgres | popen failure: Cannot allocate memorypostgres | initdb: error: The program "postgres" is needed by initdb but was not found in thepostgres | same directory as "/usr/lib/postgresql/13/bin/initdb".postgres | Check your installation. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 1 reply
-
Hmm, my best guess would be a corrupted local image - can you try completely removing |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
yes, but I got same error @tianon thank you for your reply |
BetaWas this translation helpful?Give feedback.
All reactions
-
Privious version: Docker Desktop Installer_4.1.0_69386_Engine 20.10.8 causes the problem Current version: Docker Desktop Installer_4.20.0_109717_Engine 24.0.2_Compose v2.18.1solve the problem |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #1274 on October 14, 2024 16:35.