How to use this box with Vagrant:

Vagrant.configure("2") do |config| = "ysbaddaden/alpine64"
  config.vm.box_version = "0.1.0"
vagrant init ysbaddaden/alpine64 \
  --box-version 0.1.0
vagrant up

This version was created over 7 years ago.

Alpine Linux 3.3.2 (March 6, 2016)

Minimal Alpine Linux box for vagrant-lxc.

Nothing is installed, except for sudo. The box is ready to be customized.


Bash isn't installed, thus in order for Vagrant to be capable to execute commands on the box (eg: shell provisioning or halting) you must configure to either "sh" or "ash".


The following example showcases how to configure a VM to build packages:

Vagrant.configure(2) do |config| = "sh" = "ysbaddaden/alpine64"

  config.vm.provision "shell", inline: <<-SHELL
    apk update
    apk upgrade
    apk add alpine-sdk
    addgroup vagrant abuild


vagrant up
vagrant ssh -c "cd /vagrant && abuild -r"
1 provider for this version.
  • lxc
    unknown Hosted by Vagrant Cloud (5.34 MB)