Skip to content

Add cgroup_parent to unimplemented YAML fields in compose.md - #5227

Open
MaxNiia wants to merge 1 commit into
containerd:mainfrom
MaxNiia:cgroup_parent-docs
Open

MaxNiia wants to merge 1 commit into
containerd:mainfrom
MaxNiia:cgroup_parent-docs

Conversation

@MaxNiia

@MaxNiia MaxNiia commented Sep 21, 2026

Copy link
Copy Markdown

The equivalent run command was implemented in pr #1782. But the compose.md document was never updated.

nerdctl compose up
INFO[0000] Creating network compose_stuff_default
WARN[0000] Ignoring: service probe: [CgroupParent]
INFO[0000] Ensuring image busybox:latest
INFO[0000] Creating container compose_stuff-probe-1
INFO[0000] Running [/usr/local/bin/nerdctl run
--cidfile=/tmp/compose-1462036713/cid
-l=com.docker.compose.project=compose_stuff
-l=com.docker.compose.service=probe
-l=com.docker.compose.config-hash=e6b1a6afae4e1c44f0de80fa8b4d1bfc71c0d073ce944fb93c6fb84e834c2ffe
-d --name=compose_stuff-probe-1 --pull=never --net=compose_stuff_default
--hostname=probe --restart=no busybox:latest sleep 60]
INFO[0000] Attaching to logs

The equivalent `run` command was implemented in pr containerd#1782. But the
compose.md document was never updated.

```bash
nerdctl compose up
INFO[0000] Creating network compose_stuff_default
WARN[0000] Ignoring: service probe: [CgroupParent]
INFO[0000] Ensuring image busybox:latest
INFO[0000] Creating container compose_stuff-probe-1
INFO[0000] Running [/usr/local/bin/nerdctl run
--cidfile=/tmp/compose-1462036713/cid
-l=com.docker.compose.project=compose_stuff
-l=com.docker.compose.service=probe
-l=com.docker.compose.config-hash=e6b1a6afae4e1c44f0de80fa8b4d1bfc71c0d073ce944fb93c6fb84e834c2ffe
-d --name=compose_stuff-probe-1 --pull=never --net=compose_stuff_default
--hostname=probe --restart=no busybox:latest sleep 60]
INFO[0000] Attaching to logs
```

Signed-off-by: Max Niia <max.emil.niia@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant