Skip to content
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

Error in systemd configuration #21851

Open
1 task done
Nora465 opened this issue Jan 19, 2025 · 0 comments
Open
1 task done

Error in systemd configuration #21851

Nora465 opened this issue Jan 19, 2025 · 0 comments
Labels
area/engine Issue affects Docker engine/daemon status/triage Needs triage

Comments

@Nora465
Copy link

Nora465 commented Jan 19, 2025

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

Hi, I had some trouble doing this part of the doc : Configuring remote access with systemd unit file

When editing the service file with sudo systemctl edit docker.service, I couldn't save my changes, it gave me this error Editing "/etc/systemd/system/docker.service.d/override.conf" canceled: temporary file is empty

After searching, I found 2 sources for fixing the error. We must create a file here first sudo nano /etc/systemd/system/docker.service.d/override.conf (+ create folder mkdir docker.service.d), and then put the 3 "[Service]" lines.
https://unix.stackexchange.com/a/571353
https://stackoverflow.com/a/57997077

And then, we check the open socket with sudo netstat -lntp | grep dockerd and the configuration with ps aux | grep dockerd.

Also, wouldn't it be a good idea to recommand the use of port 2376 instead of 2375, since 2375 is the uncrypted one ?

Thank you for your work :)

Location

https://docs.docker.com/engine/daemon/remote-access/

Suggestion

No response

@Nora465 Nora465 added the status/triage Needs triage label Jan 19, 2025
@craig-osterhout craig-osterhout added the area/engine Issue affects Docker engine/daemon label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon status/triage Needs triage
Projects
None yet
Development

No branches or pull requests

2 participants