Sign inSign up

nbarnum/vagrant-ubuntu

By nbarnum

•Updated over 8 years ago

Ubuntu Docker image for use with Vagrant Docker provider

Image
0

1.0K

nbarnum/vagrant-ubuntu repository overview

Ubuntu 16.04 (xenial) Docker image for use with Vagrant Docker provider.

⁠Use with Vagrant

You must have Vagrant⁠ and Docker⁠ installed to use this image.

⁠Minimal Vagrantfile
Vagrant.configure('2') do |config|
  config.ssh.username = 'root'

  config.vm.provider :docker do |d|
    d.image = 'nbarnum/vagrant-ubuntu'
    d.has_ssh = true
  end
end

See Vagrant docs⁠ for additional information on Docker provider.

Create the container with Vagrant:

$ vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Creating the container...
<snip...>
==> default: Machine booted and ready!

SSH into the container:

$ vagrant ssh
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.9.60-linuxkit-aufs x86_64)
root@5cf0747b3d40:~#

Tag summary

Content type

Image

Digest

Size

70.8 MB

Last updated

over 8 years ago

docker pull nbarnum/vagrant-ubuntu