Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:docker-intro [2026/09/11 19:25] – [Analogy:] systemtechnical:docker-intro [2026/09/13 20:12] (current) – [3 types you'll see:] system
Line 108: Line 108:
   - **Bind mount** ./mycode:/app - you link your local folder to container. Great for development, edit code locally, container sees it instantly.   - **Bind mount** ./mycode:/app - you link your local folder to container. Great for development, edit code locally, container sees it instantly.
   - **Anonymous volume** - Docker creates random name, don't use it.   - **Anonymous volume** - Docker creates random name, don't use it.
 +
 +<WRAP center round tip 100%>
 +  * The left side is on the host side
 +  * The right side is on the container side.
 +</WRAP>
 +
  
 ===== Short Recap ===== ===== Short Recap =====
Line 194: Line 200:
       * **Dockerfile** -> //docker build// -> Image       * **Dockerfile** -> //docker build// -> Image
       * **docker-compose.yml** -> //docker compose up// -> Running containers (built from Dockerfiles or Hub images)       * **docker-compose.yml** -> //docker compose up// -> Running containers (built from Dockerfiles or Hub images)
 +
 +
 +===== Networking with Docker =====
 +  * Because networking is usually hands-on, we will cover the Docker networking in the pages which will do hands on exercises. 
 +<WRAP center round tip 100%>
 +  * Network can be specified when you issue the //docker run// command
 +  * Alternatively it can be specified in the docker-compose.yml file and then you issue the //docker compose up// command.
 +</WRAP>
  
  • technical/docker-intro.1789147517.txt.gz
  • Last modified: 2026/09/11 19:25
  • by system