Lab – Docker

Installing Docker

setup docker user as root to eliminate sudo

Searching for docker images

pull image

run the image

List images

delete image

Containers

Running instance of an image

See all running containers

 

delete container

running using Dockerfile

create Dockerfile like this (i took it from https://github.com/jessfraz/dockerfiles)

to run it: