Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Digital Ocean Alpine Linux Image Generator Build Status

This is a tool to generate an Alpine Linux custom image for Digital Ocean. This ensures that the droplet will correctly configure networking and SSH on first boot using Digital Ocean's metadata service. To use this tool make sure you have qemu-nbd, qemu-img, bzip2 and e2fsprogs installed. This will not work under the Windows Subsystem for Linux (WSL) as it mounts the image during generation.

Once these prerequisites are installed run:

# ./

This will produce alpine-virt-$TIMESTAMP.qcow2.bz2 which can then be uploaded to Digital Ocean and used to create your droplet. Check out their instructions at for uploading the image and creating your droplet.