Differences

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

Link to this comparison view

ii:labs:s2:05 [2024/04/29 19:24]
radu.ciobanu [Docker Compose file example]
ii:labs:s2:05 [2025/04/13 18:19] (current)
florin.stancu
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
  
-====== Lab 05 - Docker Compose ======+====== Lab 06 - Docker Compose ======
  
 ===== Objectives ===== ===== Objectives =====
Line 43: Line 43:
 <code yaml> <code yaml>
 # docker-compose.yml # docker-compose.yml
-version: "​3.8"​+#version: "​3.8"​
  
 services: services:
Line 75: Line 75:
 The //​**version**//​ attribute describes what [[https://​docs.docker.com/​compose/​compose-file/​|functionalities]] will be loaded when running the Docker Compose utility. The //​**version**//​ attribute describes what [[https://​docs.docker.com/​compose/​compose-file/​|functionalities]] will be loaded when running the Docker Compose utility.
  
-<note warning>You must specify the version ​in any Docker Compose file.</​note>​+<note warning>The ''​version''​ field has been deprecated on modern docker compose versions.</​note>​
  
 === Services === === Services ===
ii/labs/s2/05.1714407890.txt.gz ยท Last modified: 2024/04/29 19:24 by radu.ciobanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0