Skip to content

Instantly share code, notes, and snippets.

@werty1st
Created July 30, 2019 22:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save werty1st/2acc3e2a3bbbfcc7525b5838c0a9e3c9 to your computer and use it in GitHub Desktop.
Save werty1st/2acc3e2a3bbbfcc7525b5838c0a9e3c9 to your computer and use it in GitHub Desktop.
docker wait nfs systemd
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