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

"Can't execute 'bash' error" on Alpine image#1217

amrishparmar started this conversation inGeneral
Discussion options

I noticed recently that my deployment of the Alpine-based image stopped working correctly.

It's a simple repro:

$ docker run --rm postgres:16.2-alpineenv: can't execute 'bash': Operation not permitted

I tried it with 16.1 and 16.2 and they both fail in the same way.
I then tried some older 15.x releases and they all work correctly up until 15.4, but then from 15.5 onwards it starts failing with the above error. 16.0 also works correctly

Table of versions I've tried:

VersionWorking?
15.3✔️
15.4✔️
15.5
15.6
16.0✔️
16.1
16.2

I don't see this error on the standard Debian images.

Docker version:

$ docker --versionDocker version 25.0.4, build 1a576c5
You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

My best guess is that you need to updatelibseccomp2 (and possibly, but less likely,runc) on your host 👀

You must be logged in to vote
2 replies
@tianon
Comment options

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
@amrishparmar
Comment options

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.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@amrishparmar@tianon
Converted from issue

This discussion was converted from issue #1216 on March 22, 2024 19:10.


[8]ページ先頭

©2009-2025 Movatter.jp