Docker is a tool that allows users to easily create and manage lightweight containers. It has four main components: Dockerfile for building images, a command line tool, an API, and a registry. At Gilt, Docker is used to build images for every version of applications and deploy them by pulling images to hosts and running containers. Docker provides benefits like lightweight runtimes, application isolation, stable environments, and repeatability.