Run some commands inside VM
rivaros opened this issue · comments
Hi Justin,
As the author of nsenter1 you are the only person probably who can help me with small issue:
Before starting our containers we want to run 2 commands inside VM host
‘’’
modprobe nfs
modprobe nfsd
‘’’
Could this be dine easily with ncenter1?
yes you should be able to do docker run --pid=host --privileged justincormack/nsenter1 /sbin/modprobe nfsd
in principal
Works great, and on all systems - OSX, Win & Ubuntu. I wonder - on Ubuntu it connects just to the host system or there is a tiny linuxkit-based VM already in place?
It connects to the host in all cases.