Skip to content

Instantly share code, notes, and snippets.

@geddski
Created April 3, 2015 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geddski/35d593c6bf535c1e0e53 to your computer and use it in GitHub Desktop.
Save geddski/35d593c6bf535c1e0e53 to your computer and use it in GitHub Desktop.
fishshell function for using joyent's docker
# 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