Skip to content

Instantly share code, notes, and snippets.


auxten auxten

View GitHub Profile

Bash Shortcuts

visual cheetsheet


command description
ctrl + a Goto BEGINNING of command line
kekru / 1-Enable Docker Remote API with TLS client
Last active Apr 5, 2021
Docker Remote API with client verification via daemon.json
View 1-Enable Docker Remote API with TLS client

Enable Docker Remote API with TLS client verification

Docker's Remote API can be secured via TLS and client certificate verification.
First of all you need a few certificates and keys:

  • CA certificate
  • Server certificate
  • Server key
  • Client certificate
  • Client key

Create certificate files

jordanorelli / client.go
Created May 7, 2012
rpc server example in go
View client.go
package main
import (
func main() {
rmascarenhas /
Created Nov 16, 2012
Undoing your last command
# undo: reverts the last command, as long as there is a registered handler
# for it.
# Usage:
# $ undo
# There are no options.
# There are by default registered handlers for the following commands:
#!/usr/bin/env bash
# Names of latest versions of each package
export VERSION_PCRE=pcre-8.39
export VERSION_ZLIB=zlib-1.2.8
export VERSION_LIBRESSL=libressl-2.4.2
export VERSION_NGINX=nginx-1.11.3
# URLs to the source directories