A Docker image is a blueprint for a Docker container. It contains the application code, the operating system, and all of the dependencies that the application needs to run. A Docker container is a running instance of an image. When you run a Docker image, Docker creates a container from the image and starts the application inside the container.