- Notifications
You must be signed in to change notification settings - Fork1.2k
"Can't execute 'bash' error" on Alpine image#1217
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 noticed recently that my deployment of the Alpine-based image stopped working correctly. It's a simple repro:
I tried it with 16.1 and 16.2 and they both fail in the same way. Table of versions I've tried:
I don't see this error on the standard Debian images. Docker version:
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
-
My best guess is that you need to update |
BetaWas this translation helpful?Give feedback.
All reactions
-
To illustrate further (I can't reproduce 😅): $docker run --rm --pull=always postgres:16.2-alpine16.2-alpine: Pulling from library/postgresDigest: sha256:1d74239810c19ed0dbb317acae40974e673865b2d565a0d369e206159d483957Status: Image is up to date for postgres:16.2-alpineError: Database is uninitialized and superuser password is not specified. You must specify POSTGRES_PASSWORD to a non-empty value for the superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run". You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all connections without a password. This is *not* recommended. See PostgreSQL documentation about "trust": https://www.postgresql.org/docs/current/auth-trust.html |
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm no longer able to replicate as I had to reinstall my OS (due to a separate issue where I got the classic login loop problem). I was on Ubuntu 22.04 LTS, but now on Ubuntu 23.10 and it seems to work correctly. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1❤️ 1
This discussion was converted from issue #1216 on March 22, 2024 19:10.