In easy words.
Images -
The file system and configuration(read-only) application which is used to
create containers. More detail.
Containers -
These are running instances of Docker images. Containers run the actual
applications. A container includes an application and all of its
dependencies. It shares the kernel with other containers and runs as
an isolated process in user space on the host OS. More detail.
Other important terms to notice:
Docker daemon -
The background service running on the host that manages the building,
running and distributing Docker containers.
Docker client -
The command line tool that allows the user to interact with the Docker
daemon.
Docker Store -
Store is, among other things, a registry of Docker images. You can
think of the registry as a directory of all available Docker images.
A picture is worth a thousand words.
(For deeper understanding please read this.)
Summary:
- Pull image from Docker hub or build from a Dockerfile => Gives a Docker image (not editable).
- Run the image (
docker run image_name:tag_name
) => Gives a running Image i.e. container (editable)