Skip to content

Instantly share code, notes, and snippets.

@trentm

trentm/setup.log Secret

Created March 18, 2016 22:10
Show Gist options
  • Save trentm/726d0e610067bf59fec5 to your computer and use it in GitHub Desktop.
Save trentm/726d0e610067bf59fec5 to your computer and use it in GitHub Desktop.
Docker setup with `triton profile create`
$ rm -rf ~/.triton
$ triton profile create
A profile name. A short string to identify a CloudAPI endpoint to the
`triton` CLI.
name: foo
The CloudAPI endpoint URL.
url: https://us-sw-1.api.joyent.com
Your account login name.
account: trent.mick
The fingerprint of the SSH key you have registered for your account.
Alternatively, You may enter a local path to a public or private SSH key to
have the fingerprint calculated for you.
keyId: ~/.ssh/id_rsa
Fingerprint: de:e7:73:9a:b0:91:31:3e:72:8d:9f:62:ca:58:a2:ec
Saved profile "foo"
Setting up profile "foo" to use Docker.
Setup profile "foo" to use Docker (version 1.9.1).
Use "eval $(triton env --docker)" to set your environment.
Set "foo" as current profile (because it is your only profile).
$ eval $(triton env --docker)
$ docker info
Containers: 0
Images: 76
Storage Driver: sdc
SDCAccount: trent.mick
Execution Driver: sdc-0.3.0
Logging Driver: json-file
Kernel Version: 3.12.0-1-amd64
Operating System: SmartDataCenter
CPUs: 0
Total Memory: 0 B
Name: us-sw-1
ID: baeb1c9e-f518-4bf4-bc18-01b3e0c8406c
Username: trentm
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment