Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

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.

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
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