Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
Created February 4, 2015 22:35

Revisions

  1. Aaron Feng created this gist Feb 4, 2015.
    7 changes: 7 additions & 0 deletions docker-machine.zsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    docker-machine-wrapper() {
    CONFIG_NAME="$1"
    shift
    docker $(docker-machine config "$CONFIG_NAME") $@
    }

    alias dm="docker-machine-wrapper"