A Docker container is a standalone, lightweight, and executable software package that includes everything needed to run a piece of software, including the code, a runtime, libraries, environment variables, and config files. A container is isolated from other containers and its host system. You can think of a Docker container as a lightweight virtual machine. Docker containers can be run on any computer that has Docker installed, regardless of the operating system.