How to use this box with Vagrant:

Vagrant.configure("2") do |config| = "maier/alpine-3.3.1-x86_64"
  config.vm.box_version = "1.0.0"
vagrant init maier/alpine-3.3.1-x86_64 \
  --box-version 1.0.0
vagrant up

This version was created almost 2 years ago.

Alpine Linux

Build is for developing and testing what will be run in a container and building Dockerfiles.

  • v3.3.1 vagrant init maier/alpine-3.3.1-x86_64

Note: motd will emit "v3.2.3" but it is 3.3.1 cat /etc/os-release

Usage notes

Virtualbox Guest Additions do not build/install on v3.3.1 of Alpine.

  • private network needs be configured as static in Vagrantfile in order to use folder sharing. If it is set to DHCP, Virtualbox will not see the address assigned to the interface, therefore, Vagrant will not be able to retrieve it to configure NFS.
  • folder sharing should be configured to use NFS in Vagrantfile.
  • bash is installed by default so"/bin/sh" is not necessary.
  • Vagrant plugin vagrant-alpine developed to support Alpine specific guest.
    • vagrant plugin install vagrant-alpine.
    • Github repository.
    • Removed creation of fake shutdown command.
    • Remove installation of nfs-utils.
    • Remove starting rpc.statd.

Build environment

⁖ packer version && vagrant -v && vboxmanage --version
Packer v0.8.6
Vagrant 1.8.1
1 provider for this version.
  • virtualbox Hosted by Vagrant Cloud (125 MB)