Docker basics

From Notes_Wiki
Revision as of 13:30, 18 August 2015 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb> =Docker basics= ==Run a docker image== To run a docker image use #:<pre> #:: docker run hello-world #:</pre> Docker firs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb>

Docker basics

Run a docker image

To run a docker image use

  1. docker run hello-world

Docker first searches for image locally. If it is not found then it will download the image from docker hub and run it.


See local docker images in cache

To see local docker images in cache use:

  1. docker images


Docker basics are learned from https://docs.docker.com/linux/started/



<yambe:breadcrumb>Docker|Docker</yambe:breadcrumb>