No current problem as system is running, but I'm struggling to understand how Docker Containers work, in general, and specifically in OMV7.
Can you please confirm / correct my simplistic understanding for the OMV7 UI :
The docker container that I have is running a web server with php, and I can edit php scripts in the shared www folder, and run them from my PC when connecting to the Pi IP address & port numbers.
Everything is running perfectly, but I want to better understand how this works, so I can understand what can cause something to break.
My ( simplistic ) understanding is that each Docker Container is like a separate VM, each containing it's apps ( like a Webserver with php ), and using the main system resources to run.
In the OMV UI, I have :
Services > Compose > Settings.
This contains details about the Shared Folders that Docker uses for Compose Files, Data, Backup. This I understand.
Then Services > Compose > Files.
These files appear to contain info that is used to create the Docker Container, including the Image, Container Name, working Directory, Volumes, Ports.
What is the difference between Stop & Down.
What is the purpose of Check, Up, Pull ?
Then there's Services > Compose > Services.
I don't understand this part. Is this simply specifying how the outside world can connect to, and interact with, the Container ? A way for someone to connect to the Docker Container using the specified ports ?
Next is Services > Compose > Images
Here I have a 'php' image.
What is the purpose of the 'Pull Image' & 'Pull Image & Tag' buttons ?
How does this affect the Container ?
Is this like the apps that are run in the container ?
Is this simply a list of Images that have been downloaded, and can be 'pulled' to get the latest version of the image ?
If 'Pull' is used ( assuming it will update the Image ), does the Container need to be recreated or updated somehow ?
And I am then guessing that this image is referenced in the 'Services > Compose > Files' so the Container, created from the 'Files' has this 'Image' installed as it's OS / app ?
Lastly, there's Services > Compose > Containers.
Does not appear to be anything editable here, so I guess these are the Containers that are created using the 'Files' and accessed using the 'Services' and the 'OS' in the Docker Container is the 'Images' ?
Please keep it simple for an oldie to grasp. My first computer was a Commodore vic 20 with the OS on an audio cassette and 5 kb of RAM.