Skip to content

[Bug] Restart prompt after modifying Docker configuration is misleading #12109

@Tydecent

Description

@Tydecent

Contact Information

Smart100430@163.com

1Panel Version

v1.10.34-lts

Problem Description

When performing certain Docker configurations that require a restart to take effect, a confirmation dialog pops up.
The Chinese prompt says:

修改配置后需要重启生效。
如果确认操作,请手动输入'立即重启'

The English prompt says:

This will take effect only after the system restarts.
If you are sure about the operation, please input it manually: 'Restart now'

The term “restart” does not clearly specify whether it refers to restarting the Docker service or the operating system. This ambiguity can easily cause users—especially those with less experience—to mistakenly think they need to reboot the entire server, leading to unnecessary concern.

Steps to Reproduce

  1. Log in to the 1Panel management panel.

  2. Navigate to 「Containers」→「Setting」.

  3. Modify a configuration item that requires a Docker restart.

  4. The confirmation dialog appears.

  5. Observe the prompt text as shown above.

The expected correct result

The dialog text should be revised to clearly state that a restart of the Docker service is required, for example:

Modifying the configuration requires restarting Docker to take effect.

Related log output

Additional Information

Screenshot of the Chinese version:
Image

Screenshot of the English version:
Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions