Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker_notes:docker-compose [2023-12-10 Sun wk49 15:25] – [Docker-Compose] baumkp | docker_notes:docker-compose [2024-05-05 Sun wk18 12:35] (current) – [Installation / Update] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
======Docker-Compose====== | ======Docker-Compose====== | ||
- | *Docker Docs [[https:// | + | *Docker Docs [[https:// |
Some commands: | Some commands: | ||
Line 17: | Line 17: | ||
The latest version of docker-compose can be check here: [[https:// | The latest version of docker-compose can be check here: [[https:// | ||
<code bash> | <code bash> | ||
- | sudo curl -L " | + | sudo curl -L " |
sudo chmod +x / | sudo chmod +x / | ||
</ | </ | ||
Line 48: | Line 48: | ||
external: true | external: true | ||
</ | </ | ||
+ | |||
+ | |||
=====Volumes===== | =====Volumes===== | ||
Volumes allow Docker containers to use persistent storage. In a compose file, you can create and map volumes like this: | Volumes allow Docker containers to use persistent storage. In a compose file, you can create and map volumes like this: | ||
Line 178: | Line 180: | ||
- | <- docker_notes: | + | <- docker_notes: |