Skip to content

fix: [CHK-4143] add read_only to Docker Compose#564

Open
FrancescoDiTonnoJakala wants to merge 8 commits intomainfrom
CHK-4143-bo-writable-filesystem-service
Open

fix: [CHK-4143] add read_only to Docker Compose#564
FrancescoDiTonnoJakala wants to merge 8 commits intomainfrom
CHK-4143-bo-writable-filesystem-service

Conversation

@FrancescoDiTonnoJakala
Copy link
Collaborator

@FrancescoDiTonnoJakala FrancescoDiTonnoJakala commented Jun 5, 2025

List of Changes

  • Added read_only: true to the main service in docker/docker-compose.yml.

Motivation and Context

This change introduces an additional layer of security by marking containers' root filesystems as read-only.
Using read_only: true helps reduce the risk of malicious processes modifying the container's filesystem at runtime, aligning with container hardening practices.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@github-actions
Copy link

github-actions bot commented Jun 5, 2025

This pull request does not contain a valid label. Please add one of the following labels: [major, minor, patch, patch, skip]

@FrancescoDiTonnoJakala FrancescoDiTonnoJakala marked this pull request as ready for review June 5, 2025 15:22
infantesimone
infantesimone previously approved these changes Jun 5, 2025
CianoDanilo
CianoDanilo previously approved these changes Jun 5, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants