Docker Community Forums

Share and learn in the Docker community.

Running nfs-server from nfs-utils package fails


(Mwwickline) #1

I’m trying to run nfs-server in the latest boot2docker VM and am running into issues.
Boot2Docker version 18.05.0-ce, build HEAD : b5d6989 - Thu May 10 16:35:28 UTC 2018
Docker version 18.05.0-ce, build f150324

When I attempt to start the nfs-server, I get an error that module “nfsd” is not present.

docker@default:~$ sudo /usr/local/etc/init.d/nfs-server start
modprobe: module nfsd not found in modules.dep
nodev   nfsd
/usr/local/sbin/rpcbind is already running
3781
/usr/local/sbin/rpc.statd is already running
3783
/usr/local/sbin/rpc.mountd is already running
3755
nfs-server utilities are started.

Reading up on the issue a bit, it appears that additional packages “filesystems-XXX” and “ipv6-XXX” may be required, so using tce-ab to search for those packages I see:

filesystems-4.8.17-tinycore64.tcz
ipv6-4.8.17-tinycore64.tcz

However, attempting to install these packages also gives an error, which appears to me that the dependency versions are incorrect:

docker@default:~$ tce-load -wi filesystems-4.8.17-tinycore64
filesystems-4.8.17-tinycore64.tcz.dep OK
Downloading: mtd-4.9.93-boot2docker.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: mtd-4.9.93-boot2docker.tcz.md5.txt: No such file or directory
Error on mtd-4.9.93-boot2docker.tcz

If I try to manually install the “mtd-4.8.17-tinycore64” package it succeeds, but there isn’t a mtd-4.8.17-boot2docker.tcz or mtd-4.9.93-tinycore64.tcz found. Same basic problem when trying to install ipv6-4.8.17-tinycore64, which has a dependency on netfilter-4.9.93-boot2docker.tcz.
This all appears to be a dependency mapping problem. Does anyone know if there’s a way to get around this?
Thanks!