Posts

Showing posts from May, 2017

Docker Commands Cheat Sheet

Image
Docker commands cheat sheet Table of Contents Docker commands cheat sheet Docker Configuration Credentials store Docker Credential Helper Docker login Docker Proxy Configuration Verify Network Access Important Docker commands Docker Volume Binds Docker local Registry Docker load/save Docker Socket Networks Docker and gradle Docker DNS Issues Installing Docker on Linux Virtual Machine Vs Docker Understand docker Image structure Docker Env Variables Docker Engine Vs Docker Machine Docker commands cheat sheet Docker Configuration Docker CLI stores its configuration files in a directory called .docker within your $HOME directory.( /Users/$USER/.docker/config.json ) The config.json file stores a JSON encoding of several properties. sample config.json looks like below ~/.docker/config.json # config file stores credentials in Base64 format $ cat config.json { "auths": { "https://index.docker.io/v1/": { &q