Created
April 3, 2015 04:22
-
-
Save geddski/35d593c6bf535c1e0e53 to your computer and use it in GitHub Desktop.
fishshell function for using joyent's docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use joyent's configuration for docker in the cloud. | |
# This makes it easy to toggle between using joyent and using local docker. | |
# Use your joyent username on line 8 | |
# Use your joyent host if different | |
function jdocker | |
set -e DOCKER_TLS_VERIFY | |
set -gx DOCKER_CERT_PATH ~/.sdc/docker/<YOUR JOYENT USERNAME> | |
set -gx DOCKER_HOST "tcp://us-east-3b.docker.joyent.com:2376" | |
docker --tls $argv | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment