Docker Images

Racheal Coelho
1 min readJul 14, 2021

Docker is an open platform for developing, shipping, and running applications. Docker carves up a running Linux system into small containers, each of which is in it’s own little world. All isolated from anything else. These containers are designed to be portable so they can be shipped from one place to another, and Docker does the work of getting these containers to and from your systems.

Docker’s manages a Linux server and starts and stops the containers on it as required. In Docker it all begins with an image. An image is every file that makes up just enough of the operating system to do what you need to do. Traditionally you’d install a whole operating system with everything for each application you do. With Docker you pair it way down so that you have a little container with just enough of the operating system to do what you need to do, and you can have lots and lots of these efficiently on a computer. An image is a combination of a file system and parameters.

Building the image

  1. Using power shell cd into Project Directory, this folder contains required files and config to build up a docker image.
  2. Build the image using docker build -t <”repository-name”> .
docker build -t docker_repo .

.Displaying Docker Images

To see the list of Docker images on the system,

docker images

Removing Docker Images

docker rmi ImageID

ImageID − This is the ID of the image which needs to be removed.

--

--