Skip to content

c8d: implement --read-only with containerd-integration enabled #46074

@thaJeztah

Description

@thaJeztah

Description

Looks like this was overlooked;

Without the containerd-integration enabled;

docker run --rm --read-only busybox sh -c 'touch hello-world && ls -l hello-world && echo hello > hello-world && cat hello-world'
touch: hello-world: Read-only file system

With the containerd-integration enabled:

docker run --rm --read-only busybox sh -c 'touch hello-world && ls -l hello-world && echo hello > hello-world && cat hello-world'
-rw-r--r--    1 root     root             0 Jul 25 10:33 hello-world
hello

We should also check if we have test-cases for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    containerd-integrationIssues and PRs related to containerd integrationkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.status/more-info-needed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions