What is a Container in Code

A container is essentially an instance of an Image, which is an efficient way to encapsulate environments and run applications.

Because of this design, containers virtualize at the app layer. Not to get confused with virtual machines, where virtualization happens at the hardware level.

Container Characteristics:
Container ID, the identifier.
Image associated with the container.
Usually you'll have a container definition too.