Containers are lightweight software that packages code and dependencies so they can run on any machine that supports docker.