Use clear command to get the cursor at top of screen in docker vm. Know more about mount.cifs in docs. Yikes!!
# DO REMEMBER TO CHANGE PASSWORD WITH YOUR LATEST VERSION OF PASSWORD, YIKES!!!
# Do change the ip address in the ~/mount_script if you have your host pc's ip changed.
# PRO TIP: Use cmd(admin), and use `docker-machine ssh manager1` to connect to docker-vm, Its handy!
wget https://tinyurl.com/uiui8ui -O ~/mount_script #UPDATED RIGHTLY ON: 22JAN,2021.
chmod a+wrx ~/mount_script # To make it execuatble for all users.
~/mount_script
#With one line it works as:
wget -O - https://tinyurl.com/uiui8ui | bash #But it won't work coz password is not correct, yo!-
For viewing mout details: Use
mount | grep /e. -
Find
mount_scriptgist @ https://gist.github.com/sahilrajput03/1882b2f87009c1f62031c38bc2f0c02b -
Setting userpermission to be able to read/write in docker vm(or other linux). Also, don't forget to define all permissions you need on linux system for the user info you used to mount it.
-
Problem: I was following the article correctly but din't figure it our early that it corresponded to installing x86 (32 bit version) of packages, but for my case I needed x86_64 (64 bit) packages to make it work. Now, its all cool. Though I need to install two more packages to make it work i.e., samba.tcz and samba-libs.tcz too to make it work actually as mount was throwing that some shit error.
-
Use
lsblkinsdie the docker vm machine to know the attached devices. -
Use
mount | grep /eto see the mounting deatils. -
For unmounting use:
sudo umount /e
