VirtualBox shared folders
3.8 and newer
As of 3.8 release, simply enable the Community repo in /etc/apk/repositories then run:
3.7 and previous
The following error may occur:
If the error occurs, make sure your alpine version is greater than v3.6 and alpine community repo is enabled:
Update respository indexes from all remote repositories, then install guest modules and reboot:
Device > Shared Folders > Shared Folder Settings ... add a directory mapping like this:
Mount it to alpine:
vbox_shared is your folder name and
/mnt/outside is the mounting point.
After this step the following error may occur:
If the error occurs, run command below:
And you will see
/mnt/outside are connected.
P.S. Alpine will raise error "Invalid argument" if
virtualbox-guest-additions is not installed when mounting drive.
VirtualBox will raise error "Guest Additions unavailable" if
virtualbox-guest-modules-virthardened is not installed when adding shared path.