Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
omv7:omv7_plugins:docker_compose [2024/04/27 17:45] – chente | omv7:omv7_plugins:docker_compose [2025/03/30 14:28] (current) – [Schedule (Updates and Backups)] chente | ||
---|---|---|---|
Line 13: | Line 13: | ||
===== Summary ===== | ===== Summary ===== | ||
- | [[https:// | + | [[https:// |
* Docker is a technology that enables the creation and use of Linux containers. A container is a closed environment where one or more applications and their dependencies are installed, grouped and isolated from each other, running on the same operating system kernel. | * Docker is a technology that enables the creation and use of Linux containers. A container is a closed environment where one or more applications and their dependencies are installed, grouped and isolated from each other, running on the same operating system kernel. | ||
* Docker allows you to install, uninstall, modify, update applications as many times as you want without causing damage to the system. | * Docker allows you to install, uninstall, modify, update applications as many times as you want without causing damage to the system. | ||
Line 24: | Line 24: | ||
---- | ---- | ||
- | [[omv7: | + | |
===== Docker in OMV - Initial Setup ===== | ===== Docker in OMV - Initial Setup ===== | ||
+ | [[omv7: | ||
+ | \\ | ||
+ | [[omv7: | ||
- | | + | **It is recommended to read it before installing |
---- | ---- | ||
Line 35: | Line 38: | ||
* [[https:// | * [[https:// | ||
* A **64-bit system** is desirable to run docker. If your system only supports 32-bit you will be able to run some containers, many others will be inaccessible to you. In addition, there are many other incompatibilities for 32-bit systems. | * A **64-bit system** is desirable to run docker. If your system only supports 32-bit you will be able to run some containers, many others will be inaccessible to you. In addition, there are many other incompatibilities for 32-bit systems. | ||
- | |||
- | |||
- | |||
- | |||
---- | ---- | ||
Line 44: | Line 43: | ||
===== Installation ===== | ===== Installation ===== | ||
+ | {{ : | ||
In OMV7's GUI:\\ | In OMV7's GUI:\\ | ||
- | Under **System** | + | Under SYSTEM |
- | Under **System** | + | Under SYSTEM |
* Installing the openmediavault-compose plugin will also install the openmediavault-sharerootfs plugin as a dependency. | * Installing the openmediavault-compose plugin will also install the openmediavault-sharerootfs plugin as a dependency. | ||
\\ | \\ | ||
Line 54: | Line 54: | ||
Do not uninstall the openmediavault-sharerootfs plugin. It is a dependency of the openmediavault-compose plugin. Uninstalling openmediavault-sharerootfs when the openmediavault-compose plugin is installed will cause the openmediavault-compose plugin to be uninstalled. | Do not uninstall the openmediavault-sharerootfs plugin. It is a dependency of the openmediavault-compose plugin. Uninstalling openmediavault-sharerootfs when the openmediavault-compose plugin is installed will cause the openmediavault-compose plugin to be uninstalled. | ||
</ | </ | ||
- | |||
---- | ---- | ||
Line 86: | Line 85: | ||
* In this field we can define a folder already created where we have the user data. | * In this field we can define a folder already created where we have the user data. | ||
* The plugin will use this path if we use the CHANGE_TO_COMPOSE_DATA_PATH string in any compose file. This behavior is similar to that of a global environment variable. | * The plugin will use this path if we use the CHANGE_TO_COMPOSE_DATA_PATH string in any compose file. This behavior is similar to that of a global environment variable. | ||
+ | * If you are not going to use the CHANGE_TO_COMPOSE_DATA_PATH variable you can leave this field unconfigured. | ||
* To define this folder do the following: | * To define this folder do the following: | ||
* In the **Shared Folder** field select a shared folder. | * In the **Shared Folder** field select a shared folder. | ||
Line 639: | Line 639: | ||
* If you want to have several versioned backups over time, you must make a copy later with another specialized application for this purpose. | * If you want to have several versioned backups over time, you must make a copy later with another specialized application for this purpose. | ||
* The containers that were running when the process started are started again. Those who were detained will continue to be detained. | * The containers that were running when the process started are started again. Those who were detained will continue to be detained. | ||
+ | * A copy of the global environment variables file will be added to the backup. This file will be located in the folder defined for the backup and is named '' | ||
The update task performs the following process: | The update task performs the following process: | ||
* Download the container images included in the compose file. | * Download the container images included in the compose file. | ||
* Recreate the containers with the new image if they were running. | * Recreate the containers with the new image if they were running. | ||
- | \\ | + | |
< | < | ||
</ | </ | ||
- | At this time, the plug-in | + | The advantage of the plugin' |
- | Alternatively | + | |
</ | </ | ||
Line 653: | Line 653: | ||
=== Create === | === Create === | ||
- | {{ :omv6:omv6_plugins: | + | {{ :omv7:omv7_plugins: |
- | Opens a dialog | + | Opens a dialog |
* **Settings** | * **Settings** | ||
Line 725: | Line 725: | ||
=== How to update a single docker-compose container === | === How to update a single docker-compose container === | ||
\\ | \\ | ||
- | * Go to **Services** > **Compose** > **Containers** and select the container you want to update. | + | * Go to **Services** > **Compose** > **Services** and select the container you want to update. |
* Press the **Pull** button. This will download the latest available image from that container. | * Press the **Pull** button. This will download the latest available image from that container. | ||
* Now go to **Services** > **Compose** > **Files** and select the file where that container is defined. | * Now go to **Services** > **Compose** > **Files** and select the file where that container is defined. |