Skip to content

Vagrant box with Docker daemon accessible from a remote host. Very useful for Docker image builds under a Windows based operating system.

License

Notifications You must be signed in to change notification settings

chrisipa/vagrant-docker-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Docker Daemon

Overview

Vagrant box with Docker daemon accessible from a remote host. Very useful for Docker image builds under a Windows based operating system.

Features

  • Create Ubuntu 14.04 base box with Vagrant
  • Install Docker daemon with additional tools
  • Open Docker daemon socket to use from a remote host
  • Log DOCKER_HOST environment variable

Prerequisites

Usage

  • Create virtual machine with Vagrant:
    vagrant up

Use case examples

Windows

  • Set DOCKER_HOST environment variable (use ip which is logged out by vagrant up):

    set DOCKER_HOST=tcp://172.28.128.2:2375
  • Use docker-maven-plugin from fabric8 to build your Docker images:

    mvn clean install docker:build

Linux

  • Set DOCKER_HOST environment variable (use ip which is logged out by vagrant up):

    export DOCKER_HOST=tcp://172.28.128.2:2375
  • Use docker command line to test some features with a fresh installation:

    docker run --rm hello-world

About

Vagrant box with Docker daemon accessible from a remote host. Very useful for Docker image builds under a Windows based operating system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages