Skip to content

pentatonicfunk/docker-vagrant-ubuntu-base-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this ?

Vagrant compatible Ubuntu docker images.

Heavily inspired by: https://github.com/tknerr/vagrant-docker-baseimages.

This repo just add 20.04 and add arm64 as target arch.

Most of the times you have nothing to do with this repo, you might actually looking for docker image instead

Available Versions / tags

  • 18.04
  • 20.04

Available archs / platforms

  • linux/amd64
  • linux/arm64

Vagrant Compatibility

  • vagrant user added, and included in sudoers
  • Insecure vagrant pub key added

Vagrant Usage example

config.vm.provider "docker"
config.vm.image = "pentatonicfunk/vagrant-ubuntu-base-images:20.04"
config.vm.has_ssh = true

Contributing / Building Note

you wouldn't understand, because i don't

Useful links

Verify docker buildx

$ docker buildx --help

Register Arm executables to run on x64 machines

First, get latest sha of latest from https://hub.docker.com/r/docker/binfmt/tags?page=1&ordering=last_updated

a7996909642ee92942dcd6cff44b9b95f08dad64
$ docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 

Verify Arm executables to run on x64 machines

To verify the qemu handlers are registered properly, run the following and make sure the first line of the output is “enabled”. Note that the handler registration doesn’t survive a reboot, but could be added to the system start-up scripts. REVERIFY AND REDO

$ cat /proc/sys/fs/binfmt_misc/qemu-aarch64
enabled
interpreter /usr/bin/qemu-aarch64
flags: OCF
offset 0
magic 7f454c460201010000000000000000000200b7

About

Vagrant compatible Ubuntu docker images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published