Docker

Docker Pull

Before pulling a docker container, you need an image to pull.

Example: nginx web server

docker pull nginx

Ubuntu

docker pull ubuntu

Docker Image

This allows us to manage the images in our local systems.

Typing docker image Will show use the options

Docker Image ls

This lists all images stored on the locate system

Docker Image rm

This allows us to remove an image

Docker Run

The syntax for this command

docker run [OPTIONS} IMAGE_NAME [Command] [Arguments]

Hostname of a container can be found using docker ps