Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lwc:docker [2026/02/28 12:59] – John Harrison | lwc:docker [2026/03/01 10:34] (current) – John Harrison | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| * The '' | * The '' | ||
| * When updating images, after pulling and restarting, run '' | * When updating images, after pulling and restarting, run '' | ||
| + | * '' | ||
| + | * | ||
| ==== Watchtower ==== | ==== Watchtower ==== | ||
| * Watchtower is a container which auto updates Docker containers | * Watchtower is a container which auto updates Docker containers | ||
| Line 46: | Line 47: | ||
| - " | - " | ||
| </ | </ | ||
| + | * run watchtower immediately: | ||
| + | |||
| + | ===== Basic Operations ===== | ||
| + | * '' | ||
| + | * use the '' | ||
| + | * use the '' | ||
| + | * user the '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ===== Docker Registry ===== | ||
| + | * Docker Hub is the default registry and it is the biggest public registry | ||
| + | * you can store a private or public registry on Docker Hub | ||
| + | * Each application gets its on repo in the registry | ||
| + | |||
| + | ===== creating a Dockerfile ===== | ||
| + | * All dockerfiles start with a parent image or "base image" | ||
| + | * define the base image with '' | ||
| + | * copy files into the container: '' | ||
| + | * example: '' | ||
| + | * set the working directory: '' | ||
| + | * example: '' | ||
| + | * next come the dependencies: | ||
| + | * example: '' | ||
| + | * for the last command in the docker file i.e. start the process: '' | ||
| + | * example: '' | ||