postgresql in docker to improve security

From: "Nguyen, Long (IM&T, St(dot) Lucia)" <Long(dot)Nguyen(at)csiro(dot)au>
To: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: postgresql in docker to improve security
Date: 2024-05-02 22:43:37
Message-ID: ME3PR01MB7362CB509A8274FBC27509AE8E182@ME3PR01MB7362.ausprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Good day. This is a general db question.

I start exploring containerisation and start learning docker. Would having postgresql in docker improve security in the sense that users could only access to the db through the port mapped to the environment outside of docker, and if they somehow are able to hack and access outside the db, the access is limited within the container not the OS that host the container.

Thanks.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message M Sarwar 2024-05-02 23:12:11 Number of rows fetched with CROSSTAB query
Previous Message Indu Akkineni 2024-05-01 21:15:39 Logical replication - restart_lsn resets back and the status becomes 'unreserved'