Nginx on {Alpine 3.4, VirtualBox, Vagrant}
Tested in the following env:
Host: Ubuntu 16.04 Server
Vagrant 1.8.1
VirtualBox 5.0
# sudo apt-get install nfs-common nfs-kernel-server
# vagrant plugin install vagrant-alpine
Disable firewall temporarily to allow guest to execute mount -o 'vers=3,udp' 192.168.50.1:'/root/nginx-vm' /vagrant
.
# service ufw stop
# vagrant up
# vagrant global-status
From host:
# curl 192.168.50.4
<!doctype html>
<title>Alpine Nginx</title>
<h2>Website served by Nginx inside an Alpine VirtualBox VM</h2>
<script>
//app goes here
</script>
#
# vagrant destroy -f node
==> node: Forcing shutdown of VM...
==> node: Destroying VM and associated drives...
==> node: Pruning invalid NFS exports. Administrator privileges will be required...
#