openmediavault-docker-gui Testing

  • I've put together a plugin for managing your Docker images/containers within OMV. I know there are already other plugins available for this purpose, but I wanted something which felt like OMV'ish look and feel. The plugin is available in the omvextras Docker Testing repo if you want to give it a try. My goal has been to make a plugin that helps me out with working with Docker on a daily basis, and I'm not a Docker guru so there are quite some "poweruser" stuff missing. However this is the current feature list:

    • Pull images
    • Search images on Docker Hub
    • List installed images
    • "Run" an image with a number of parameters (network settings, environment variables etc.)
    • Get detailed info on an image
    • Delete images
    • Start/Stop/Restart/Delete containers
    • "Copy" a container with it's settings into a new container
    • Get detailed info on a container
    • List installed containers
    • Relocate the Docker base path (defaults to /var/lib/docker) to a shared folder
    • Copy existing images/containers to the shared folder
    • Change network port that the Docker API listens on

    Changelog:


    Here are some screenshots to give you an idea what it looks like:





    Keep in mind that this is a TESTING release and thus only install this in a VM or other test environment!


    How to install:

    • Install omvextras plugin as described here: http://omv-extras.org/simple/i…install-omv-extras-plugin
    • Install backports kernel (there is a tab for this purpose in the omvextras plugin)
    • Reboot
    • Enable the Docker Testing repo in the omvextras plugin
    • Locate and install the openmediavault-docker-gui plugin in the plugins section of OMV (it's in the Virtualization section of plugins)
    • Done! The plugin is in the Services section of OMV


    Hope you will like it :)

    • Offizieller Beitrag

    It must be good. I know nothing about docker and can get a container up and running with it :)

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    :D

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Done. I updated the translations again since you added a few strings :)

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I have an idea for future development of the plugin. We could have a "repository" (a simple to parse text-file) on github (for example) where we in the OMV community could add (links to) docker images that we like and think could be useful for others. Then these could be presented in a new tab in the plugin to be easily pulled from there. What do you think? Should I make some kind of "proof of concept" regarding this kind of feature?


    EDIT: I'm thinking something like this:

    Code
    <image>
    <name>MyImage</name>
    <repo>user/reponame</repo>
    <desc>Description</desc>
    <imgurl>URL of image</imgurl>
    </image>
    • Offizieller Beitrag

    Sounds like a good idea to me :) This list would be kind of like a plugin list.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Awesome plugin! I have been using docker for a few months now and this is perfect for OMV...I have a few ideas for this plugin that could be good for it.


    Integrate a docker-compose tab for easily setting up containers and also a docker log tab for monitoring running containers.


    Docker-compose is awesome for linking multiple containers and would be a great way to share .yml files for plugins.


    One question about this plugin though... Where would I enter in the volumes_from command? Under environment variables? I use that for a data only container that all my plugins point to for easy sharing of mount points...


    Thanks for this...it will really help OMV development!

  • Glad you like the plugin!

    Integrate a docker-compose tab for easily setting up containers and also a docker log tab for monitoring running containers.


    Docker-compose is awesome for linking multiple containers and would be a great way to share .yml files for plugins.


    As I mentioned in my first post, I'm quite new to the world of Docker and have only used it to build an image for myself and then run the same image. Thus I've implemented the features that I've found could be of use while testing this out. Could you please expand on the docker-compose/yml/plugin theory? I've not worked with this at all...


    One question about this plugin though... Where would I enter in the volumes_from command? Under environment variables? I use that for a data only container that all my plugins point to for easy sharing of mount points...


    Same reasoning as above :) Maybe I'm missing some field for the volumes_from parameter? Please let me know and I'll see how it could be added.

  • I've done some testing of the "Docker repo" idea and it looks like it could be implemented quite easily. However I think we should setup a new repo on github for the purpose of hosting the XML file in order to limit commits on the plugin repo. How about an openmediavault-dockerrepo repo?

  • Should that be on git? Or rather on a subpage on omv-extras.org?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

    • Offizieller Beitrag

    I'm fine with it being on github. It would make it easier to access and have version control. Otherwise, we could keep it on github and I could setup a cron script to sync it to the server.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Sure, whats the name supposed to be?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

    • Offizieller Beitrag

    Maybe openmediavault-docker-repo


    Done - link

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!