Skip to main content

Docker

Cheatsheet

Notes

Official Cheat Sheet

wsargent/docker-cheat-sheet

Image

Notes

Docker Hub

Notes

Container

Notes

Dockerfile

Notes

Volume

Notes

Service

Notes

Network

Notes

Swarm

Notes

Kubernetes

Notes

Tips

oh-my-zsh

If you are using zsh as shell and oh-my-zsh, use the plugins docker and docker-compose.

In the .zshrc file, find the line plugins=(...), add the two plugins.

plugins=(... docker docker-compose)

image-20200906160410731

When a command is entered (partially), press tab to see available options and their description. Press tab multiple times to iterate through the options.

Reference

wsargent/docker-cheat-sheet