Skip to content

Instantly share code, notes, and snippets.

View BluePhoenix's full-sized avatar

Felix Barros BluePhoenix

  • Suffield, CT, United States
View GitHub Profile
@BluePhoenix
BluePhoenix / gist:9e141e217d6dc7fb775ef94e1966e087
Created November 8, 2017 20:41 — forked from johanmeiring/gist:3002458
"git lg" alias for pretty git log
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
@BluePhoenix
BluePhoenix / Docker connect to remote server.md
Created October 31, 2017 01:35 — forked from kekru/Docker connect to remote server.md
Connect to another host with your docker client, without modifying your local Docker installation

Run commands on remote Docker host

This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.

Enable Docker Remote API

First be sure to enable the Docker Remote API on the remote host.

This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
For HTTPS connection use whiledo/docker-remote-api-tls.