Hi,
I have successfully tested the d3fk/nfs-client and was able to mount one NFS Share (by editing my cloud-init.yml) following the example from d3fk/nfs-client.
#cloud-config
write_files:
- path: /etc/rc.local
permissions: "0755"
content: |
#!/bin/bash
[ ! -e /usr/bin/docker ] && ln -s /usr/bin/docker.dist /usr/bin/docker
rancher:
services:
nfs:
image: d3fk/nfs-client
labels:
io.rancher.os.after: console, preload-user-images
io.rancher.os.scope: system
net: host
privileged: true
restart: always
volumes:- /usr/bin/iptables:/sbin/iptables:ro
- /mnt/nfs-1:/mnt/nfs-1:shared
environment:
SERVER: X.X.X.X
SHARE: /shared_path
Unfortunately I did not really find a proper documentation and could not have a second share mounted. Tried varoius options, but no avail. Has somebody successfully used this with multiple NFS share and if yes how?
Thanks,
Chrstian