Docker Command Catalog
Delete a Docker Image :: docker image rm {imageid}

Inspect docker logs ::  docker logs {containerId or name}

Docker exec runs a command inside the docker container.
docker exec -it {containerId/name} sh

Link a container to one another, makes it possible for one container to talk to another container. In this example we are creating a second container with redis client to access the redis server. This is done through –link and giving the name of the container.
-i interactive -t terminal

docker run is used to create a container. docker exec is used to interact with a running container.
External to a container we can create volumes. Volumes are used to read and write data which persists.

