Delete a Docker Image :: docker image rm {imageid} alt text

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

Docker exec runs a command inside the docker container.

docker exec -it {containerId/name} sh alt text

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

alt text

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.

alt text

alt text