Closed cobolbaby closed 9 months ago
working for me :
$ docker run --rm -ti --name pgtest --user root postgres:12.15 bash
root@0009ceff9086:/# apt update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8,906 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease [123 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg/12 amd64 Packages [2,597 B]
Get:7 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg/main amd64 Packages [284 kB]
Get:8 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4,732 B]
Get:9 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [51.9 kB]
Fetched 9,624 kB in 3s (3,100 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@0009ceff9086:/# date
Thu Aug 10 07:47:56 AM UTC 2023
root@0009ceff9086:/#
Edit:
$ docker version
Client: Docker Engine - Community
Version: 24.0.5
API version: 1.43
Go version: go1.20.6
Git commit: ced0996
Built: Fri Jul 21 20:35:23 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.5
API version: 1.43 (minimum version 1.12)
Go version: go1.20.6
Git commit: a61e2b4
Built: Fri Jul 21 20:35:23 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.22
GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version: 1.1.8
GitCommit: v1.1.8-0-g82f18fe
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Hi @cobolbaby ;
It's possible that the issue you're encountering is related to libseccomp
.
If that's the case, you might consider updating both libseccomp
and docker
on the host that's running the containers.
For detailed information, including the root cause and potential workarounds, please visit: https://github.com/docker-library/postgres/issues/1100#issuecomment-1599660628