Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vBcVR-001WI8-Vh for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Oct 2025 17:20:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vBcVQ-000Pw0-Rn for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Oct 2025 17:20:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vBcVQ-000Pvp-Ii for pgsql-bugs@lists.postgresql.org; Wed, 22 Oct 2025 17:20:11 +0000 Received: from www649.your-server.de ([188.40.219.141]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vBcVN-003eTl-0P for pgsql-bugs@lists.postgresql.org; Wed, 22 Oct 2025 17:20:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=headcrashing.eu; s=default2504; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=GLj6GYsC3GeLJkKChh5JCF4HdS4Sth175ahcAlMcYL8=; b=hmpuICPUiKyUPnwQ3XiKYupfSF iqmcx/WXz2m5CMHFfbjkfcDaSiLAmgo5oGNEnnkLFbl314dRb+iBPz2eufhIicQZqq3TmbrjVCkKK GfNuA9bp7WFw6Ry5Eqd/JzlYrzW2z3RpHUyK/PPrDpi/unHJkmwihkFQAcu5HHEE5ULfdEXeiJ8C7 Ugz2jHY6ev0CzhmFi5/Zs9VDwaVEoOYRLx3RctBe7C2ndJ05nX1/M0lyVvHX+lLxil7GZkC4zLIJ0 Wz8goIgXM38mmZukZG4syo2QHpbSQr5e2HPC6y3IMnosOjX/gwETUfoeO20AbdibYC/6Jy/q+XF2y 664rdOJg==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www649.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1vBcVL-0006jd-2Q for pgsql-bugs@lists.postgresql.org; Wed, 22 Oct 2025 19:20:07 +0200 Received: from localhost ([127.0.0.1]) by sslproxy02.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vBcVL-0000lP-20 for pgsql-bugs@lists.postgresql.org; Wed, 22 Oct 2025 19:20:07 +0200 Message-ID: <6eec7166-3f56-4962-a015-719eef3dd964@headcrashing.eu> Date: Wed, 22 Oct 2025 19:20:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Version 18.0 of postgres image in dockerhub - container crashes when starting up To: pgsql-bugs@lists.postgresql.org References: From: Markus KARG In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Clear (ClamAV 1.0.9/27800/Wed Oct 22 11:44:05 2025) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk In contrast to 17.x, the 18.x container needs to mount the volulme at .../18/docker:/var/lib/postgresql instead of ...data:var/lib/postresql/data. This is told in the instructions of the docker image, see the chapter about PGDATA: https://hub.docker.com/_/postgres/#pgdata. -Markus Am 21.10.2025 um 14:21 schrieb Yuval Roth: > Hello, my docker compose file pulled from "latest" tag and after > refreshing the image, the container failed to start with an error. > After downgrading to version 17.6 it started working again > > The docker file config is: > > ``` > > ims-db: >     image: postgres:latest >     container_name: ims-db >     environment: >       POSTGRES_DB: ims-db >     ports: >       - "5432:5432" >     networks: >       - ims-network >     volumes: >       - ./database/init.sql:/docker-entrypoint-initdb.d/init.sql >       - ./database/data:/var/lib/postgresql/data >     env_file: db_credentials.env > > ``` > > > The error is > > ``` > > Error response from daemon: failed to create task for container: > failed to create shim task: OCI runtime create failed: runc create > failed: unable to start container process: error during container > init: error mounting > "/run/desktop/mnt/host/c/Users/Yuval/git/ims_project/database/data" to > rootfs at "/var/lib/postgresql/data": change mount propagation through > procfd: open o_path procfd: open > /var/lib/docker/rootfs/overlayfs/b8270e0667c6ebbba5dcd89130fedd34dd01317b7cf14125cc943b475ee6d167/var/lib/postgresql/data: > no such file or directory: unknown > > ``` >