We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Images

So a "container" is kinda like a lightweight VM, great... so what's an image?

  • Image: A read-only definition of a container
  • Container: an instance of a virtualized read-write environment

A container is basically an image that's actively running. In other words, you boot up a container from an image. You can create multiple separate containers all from the same image (it's kinda like the relationship between classes and objects).

Click to play video

Assignment

docker pull docker/getting-started

All this does is copy the image file down on your local machine so you won't have to download it later to be able to use it.

docker images

Submit the CLI tests. There's no penalty on failure for this lesson.