Ubuntu Docker image for use with Vagrant Docker provider
1.0K
Ubuntu 16.04 (xenial) Docker image for use with Vagrant Docker provider.
You must have Vagrant and Docker installed to use this image.
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:~#
Content type
Image
Digest
Size
70.8 MB
Last updated
over 8 years ago
docker pull nbarnum/vagrant-ubuntu