Created
July 30, 2019 22:01
-
-
Save werty1st/2acc3e2a3bbbfcc7525b5838c0a9e3c9 to your computer and use it in GitHub Desktop.
docker wait nfs systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE / SOLUTION FOR ANYONE HAVING THIS PROBLEM | |
1.) Make sure your NFS mount in /etc/fstab does NOT have the "bg" background field | |
and | |
2.) Create: /etc/systemd/system/docker.service.d/override.conf | |
with: | |
[Unit] | |
After=nfs.mount | |
and then | |
systemctl daemon-reload | |
and then reboot. | |
This is needed until docker adds "After=nfs.mount" to the default docker Unit section. | |
^^^ UPDATE / SOLUTION FOR ANYONE HAVING THIS PROBLEM ^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment