Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

postgres:13 and dpage/pgadmin4 is not installed#1276

jamessv started this conversation inGeneral
Discussion options

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.
You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

Hmm, my best guess would be a corrupted local image - can you try completely removingpostgres:13, re-pulling it, and trying again?

You must be logged in to vote
1 reply
@jamessv
Comment options

yes, but I got same error

@tianon thank you for your reply

Comment options

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

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@jamessv@tianon
Converted from issue

This discussion was converted from issue #1274 on October 14, 2024 16:35.


[8]ページ先頭

©2009-2025 Movatter.jp