Skip to main content

17 docs tagged with "docker"

View all tags

Architecture

Docker uses a client-server architecture. The Docker client talks to the Docker daemon, which does the heavy lifting of building, running, and distributing your Docker containers. The Docker client and daemon can run on the same system, or you can connect a Docker client to a remote Docker daemon. The Docker client and daemon communicate using a REST API, over UNIX sockets or a network interface.

Copy requirements.txt from Container

Python code can have imports that do not exist in the environment (pipenv) but do exist in a Docker container. We can copy the requirements.txt file from within the Docker container and then use pip to install them.

Storage

Docker uses /var/lib/docker to store your images, containers, and local named volumes