-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Quick read of ipv6 docs and small fixes. #57
Conversation
* Why on earth does one directly edit the systemd/system/docker.service file just to add a start argument? * Fixed typos. * I have not fully tested it yet, but I will when I have time.
|
||
Reload the daemon and restart docker so that it takes affect: | ||
|
||
systemctl daemon-reload && systemctl restart docker.service | ||
service docker restart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If using systemd, people need to use systemctl. Ubuntu provides service
binary to manage upstart services and maybe will soon wrap systemd interface.
Probably need service and systemctl commands for upstart and systemd respectively.
Thanks for reviewing! I don't understand your comment about modifying the systemd service for two reasons:
|
Hi Not sure if I understand you correctly. My main confusion was about the About the To 2. Not sure what you mean. I published parts of my Docker setup configuration on GitHub. Here is the relevant part. BTW. Thanks for your work on v6 integration! |
|
||
Reload the daemon and restart docker so that it takes affect: | ||
|
||
systemctl daemon-reload && systemctl restart docker.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to tell systemd to examine the updated docker.service
file, so the daemon-reload
is necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v6 is now configured in /etc/default/docker
which is read on normal service restart. There should be no need to restart systemd itself for that.
For Step 3 — Setup the systemd Unit File, it is a good idea, but for adding a start augment, no.
Ahh. I was thinking of The In short, we need both until the Debian way dies (as it has already moved ot systemd) and Ubuntu will soon follow. Fedora and Arch has been on systemd for years. |
Quick read of ipv6 docs and small fixes.
file just to add a start argument?