You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
Is this a docs issue?
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 errorEditing "/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 foldermkdir 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 withps 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
The text was updated successfully, but these errors were encountered: