I hereby claim:
- I am davidmnoriega on github.
- I am davidmnoriega (https://keybase.io/davidmnoriega) on keybase.
- I have a public key whose fingerprint is 2144 2F3D 0CA8 0CAE 0F72 4D60 FD0D 9BEA 583D D881
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Vagrant.configure("2") do |config| | |
if Vagrant.has_plugin?("vagrant-timezone") | |
# Sets guest timezone to be the same as the host | |
config.timezone.value = :host | |
end | |
# I run a local squid proxy for yum/apt | |
# See https://github.com/davidmnoriega/docker-squid | |
# The IPs specified here might not be universal | |
if Vagrant.has_plugin?("vagrant-proxyconf") |
$ VAGRANT_LOG=info vagrant up | |
INFO global: Vagrant version: 1.8.1 | |
INFO global: Ruby version: 2.2.3 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_LOG="info" | |
INFO global: VAGRANT_DEFAULT_PROVIDER="virtualbox" | |
INFO global: VAGRANT_OLD_ENV_VIRTUALENVWRAPPER_WORKON_CD="1" | |
INFO global: VAGRANT_OLD_ENV_VAGRANT_LOG="info" | |
INFO global: VAGRANT_OLD_ENV_USER="davidmnoriega" | |
INFO global: VAGRANT_OLD_ENV_GOPATH="/Users/davidmnoriega/.go" |
#!/bin/bash | |
# Inspiration | |
# Patrick Chanezon | |
# https://github.com/chanezon/docker-tips/blob/master/orchestration-networking/swarm-local.sh | |
docker-machine create \ | |
-d virtualbox \ | |
consul | |
docker $(docker-machine config consul) run -d --restart=always \ |