Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker [2022-07-24 00:43] – created asdf | docker [2023-02-25 19:35] (current) – asdf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Docker | + | ====== Docker ====== |
- | Eventually need to migrate | + | <WRAP center round todo 60%> |
+ | Migrate | ||
+ | </ | ||
Docker uses a client-server architecture. There is no requirement that the daemon and client be run on the same machine. | Docker uses a client-server architecture. There is no requirement that the daemon and client be run on the same machine. | ||
===== Containers ===== | ===== Containers ===== | ||
- | Docker containers are not full VMs but instead special processes running in the host (on Linux). | + | Docker containers are not full VMs but instead special processes running in the host (on Linux). Containers have their own filesystems, |
+ | |||
+ | Note that there need not be a one-to-one correspondence between containers and images. A container is a single instance of an image with its own unique resources. Once created, a container can be stopped, started, renamed, destroyed, and so on. | ||
===== Images ===== | ===== Images ===== | ||
- | Images contain the app binaries and dependencies, | + | Images contain the app binaries and dependencies, |
===== Volumes and bind mounts ===== | ===== Volumes and bind mounts ===== | ||
+ | Docker allows data persistence through one of two means: //volumes// and //bind mounts//. Bind mounts are exactly what they sound like --- directories on the host that shared directly with the container. Volumes, on the other hand, are completely managed by Docker and have extra functionality. | ||
+ | |||
===== Networks ===== | ===== Networks ===== | ||
+ | |||
===== Dockerfiles ===== | ===== Dockerfiles ===== | ||
Much of Docker' | Much of Docker' | ||
A full Dockerfile reference is available [[https:// | A full Dockerfile reference is available [[https:// | ||
+ | |||
===== Docker Compose ===== | ===== Docker Compose ===== | ||
Docker Compose eases the instantiation of multi-container applications. | Docker Compose eases the instantiation of multi-container applications. | ||
+ | |||
+ | {{tag> |