Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run --rm -it --privileged --pid=host justincormack/nsenter1
- echo ctr -n services.linuxkit task exec -t --exec-id foo docker-ce /bin/sh
- echo mkdir host_mnt/mystorage
- echo mkdir host_mnt/mystorage/Videos
- echo mkdir host_mnt/mystorage/Videos/my-private-storage
- echo mount -v -t cifs -o username=myname,password=p@s$w0rd,file_mode=0777,dir_mode=0777,vers=2.0,uid=1234,gid=1234 //mystorage.mycompany.com/Videos/my-private-storage /host_mnt/mystorage/Videos/my-private-storage
- echo exit
- echo exit
Add Comment
Please, Sign In to add comment