docker-utils

(★ 35)

external utilities for the docker experience

File Explorer

  • .travis.yml
  • Dockerfile
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

docker save

View Details ▼

This command is an alias of `docker image save`.

tldr docker image save

View documentation for the original command:

🔍

go get

View Details ▼

Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go get {{example.com/pkg}}

Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:

go get {{example.com/pkg}}@{{v1.2.3}}

Modify the package with a given version in module-aware mode:

go get {{example.com/pkg}}@{{none}}

Remove a specified package:

🔍

gpg

View Details ▼

GNU Privacy Guard, an OpenPGP encryption and signing tool.
See also: `sq`.

gpg {{[--full-gen-key|--full-generate-key]}}

Create a GPG public and private key interactively:

gpg {{[-k|--list-keys]}}

List all keys from the public keyring:

gpg --clearsign {{doc.txt}}

Sign `doc.txt` without encryption (writes output to `doc.txt.asc`):

🔍

tar

View Details ▼

Archiving utility.
Often combined with a compression method, such as `gzip` or `bzip2`.

tar cf {{path/to/target.tar}} {{path/to/file1 path/to/file2 ...}}

[c]reate an archive and write it to a [f]ile:

tar czf {{path/to/target.tar.gz}} {{path/to/file1 path/to/file2 ...}}

[c]reate a g[z]ipped archive and write it to a [f]ile:

tar czf {{path/to/target.tar.gz}} {{[-C|--directory]}} {{path/to/directory}} .

[c]reate a g[z]ipped (compressed) archive from a directory using relative paths:

# Project Badges

// repository documentation