Public | Automated Build

Last pushed: 4 months ago
Short Description
Debian Docker image for Vagrant.
Full Description


A Debian Docker image for Vagrant Docker provider.

This image is based on official Debian image and includes minimum Vagrant box features.

Supported tags and respective Dockerfile links

Issues and pull-requests are available on GitHub repository.


Write Vagrantfile as following:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  config.vm.provider(:docker) do |d|
    d.image = "nishidayuya/docker-vagrant-debian:jessie"
    d.has_ssh = true

Enjoy vagrant up, vagrant ssh and so on!

$ vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Creating the container...
    default:   Name: try-docker-vagrant-debian_default_1466169221
    default:  Image: nishidayuya/docker-vagrant-debian:jessie
    default: Volume: /home/yuya/try-docker-vagrant-debian:/vagrant
    default:   Port:
    default: Container created: 546abcdab956863f
==> default: Starting container...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address:
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
$ vagrant ssh

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
vagrant@546abcdab956:~$ sudo apt-get update
Docker Pull Command