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

Docker not seeing NFS plugin when netshare is started from systemctl or service command #196

Open
nicovd737 opened this issue Jul 7, 2021 · 2 comments

Comments

@nicovd737
Copy link

Hi,
Using netshare plugin for docker:
Version: 0.36 - Built: 2019-02-24T22:50:38-06:00

Docker version:
Client: Docker Engine - Community
Version: 20.10.7
API version: 1.41
Go version: go1.13.15
Git commit: f0df350
Built: Wed Jun 2 11:56:38 2021
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: b0f5bc3
Built: Wed Jun 2 11:54:50 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.6
GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Issue:

  • When starting plugin from CLI with command: "/usr/bin/docker-volume-netshare nfs", then docker is seeing NFS plugin and all works as a charm.
  • When starting plugin from systemctl or service command (for automatic restart after reboot), daemon starts but docker do not see NFS plugin.

Did i miss something ?

Thanks for your appreciated help.
Nico

@gravyflex
Copy link

I am having the same issue as well. Looks like docker starts before docker-volume-netshare does. Once I restart docker I can see it working again docker-volume-netshare.

I've tried adding docker-volume-netshare.service to wants and required in the docker.service file with no luck.

@jorgecuevas92
Copy link

I am also having this issue on a production server.
@nicovd737 did you find a solution to prevent this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants