Skip to content

Conversation

@botinca
Copy link

@botinca botinca commented Oct 16, 2025

dragonflyoss/nydus#1779

Description

Implemented more correct way to manage proxy_plugins section

Modern version of toml-cli is able to work with toml section, so no need to use a dangerous construction cat <> EOF anymore

Related Issue

dragonflyoss/nydus#1779 bug

Motivation and Context

containerd stopped working after modification /etc/containerd/config.toml if proxy_plugins section already exists

@botinca botinca marked this pull request as ready for review October 16, 2025 15:15
@botinca botinca changed the title issue 1779: more correct way to add proxy_plugins values fix: issue 1779: more correct way to add proxy_plugins values Oct 16, 2025
@gaius-qi
Copy link
Member

@imeoer

@gaius-qi gaius-qi added the enhancement New feature or request label Oct 17, 2025
Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the dragonfly-stack verison.

type = "snapshot"
address = "/run/containerd-nydus/containerd-nydus-grpc.sock"
EOF
#toml will create "proxy_plugins" table if it doesn't exist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a space after #. :)

@imeoer
Copy link
Contributor

imeoer commented Oct 20, 2025

others LGTM, thanks!

@gaius-qi
Copy link
Member

@botinca Please fix lint.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants