Skip to content

Instantly share code, notes, and snippets.

View itoche's full-sized avatar

Christophe Grosjean itoche

  • ARHS Spikeseed
  • Luxembourg
View GitHub Profile
#!/bin/bash
# A wrapper for the docker binary. Checks to make sure the docker host is
# set before executing docker commands.
docker() {
# Start the daemon if it's not running
if [ $(boot2docker status) != 'running' ]; then