Plugin Docker

  • For now, I use dockerui, that works fine and it's simple ... I would develop another tab to configure the default storage for container for decker, after that for each openmediavault-docker-{plugin} I would have a tab to configure some elements for docker too (for example, I'm on transmission stuff and I want to configure directory and other things like ports for docker mapping. After, speed limits and Co will be customized by Transmission UI directly . If someone want to integrate all in OpenMediaVault webUI source will be on github ;) !

    I think I will create some docker-plugins like :
    - Transmission
    - Calibre
    - LMS
    - OwnCloud
    - TeamPass
    - Shaarli/ShaarliSQL
    - LeBonCoinRSS
    - A SMTP Server with WebUI (don't know which ... ?)

    If some of you want to made one of them, let me know ! If you have other idea (it's better if the app already exists on docker hub ...) say it here !

  • @oddity : it should be working ! after that the container expose the vnc port 5900 to let you access to the gui like local install ...
    @suprstar : it seems packages are not yet on OMV repository ... if you're ok with that, you could install temporary package openmediavault-docker-repo or just add docker repository in your source.list like this :

    $ wget
    # apt-key add gpg
    # echo "deb ${url}ubuntu docker main" > /etc/apt/sources.list.d/docker.list
    #apt-get update
  • I didn't put the plugin in the repo yet. I thought it was a little early yet.

    OMV extras adds the docker repo when you enable the docker repo in omv-extras. No need to manually update it.

    omv 5.5.1 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3 plugins source code and issue tracker - github

    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Like I said, I didn't put the plugin in the repo. It is in the omv 2.0 (stoneburner) docker-testing repo now. Use at your own risk.

    omv 5.5.1 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3 plugins source code and issue tracker - github

    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • A mix between these ideas ...
    I think, I'll keep the docker plugin like actually, then create new one for LMS for example and be able to configure some config like forward port, mapping for directory between host and container, then the possibility to create the container with these options.
    Then the start/stop should be manage by dockerUI or shipyard provides by docker plugin.

    If you have better ideas, I listen !

  • I think a config tab would be a good idea. I got some ideas like setting the default folder to use a shared folder, add an "enable" checkbox. As for containers, I dont see a reason not to have both DockerUI and Shipyard. We can add buttons to launch each one separately in new windows. If you use the VDR plugin, that will give you a general idea what I am talking about. Keep DockerUI as the default window you see in the plugin. I think it gives you the general information you need to know and to start/stop containers. Use Shipyard to create your own containers. At least that is my experience with it sofar as I am new to Docker as well. I'll be glad to help out when I can. Looking forward to seeing your plugin develop more. :)

  • hello everyone,
    I would like to try the docker plugin and get to use docker a bit more over virtualbox which I have not installed since rebuilding my HP Gen8, are the install instructions earlier in this thread still valid ?
    I still do not see the plugin in the repo when I refreshed it last night, but at this point I do not have the 3.16 kernel installed yet, which I assume is a pre req ?

  • it installed ok, but it seems after a reboot its not longer working, in the plugin gui i get :

    502 Bad Gateway

    i tried restarting dockerui with

    docker run -d -p 9000:9200 --privileged -v /var/run/docker.sock:/var/run/docker.sock abh1nav/dockerui

    but still no joy, is this the right way to restart it ?
    (a reboot didnt start it either)

    docker ps shows me

    87d5a693fe18 abh1nav/dockerui:latest "./dockerui" 6 minutes ago Up 5 minutes 9000/tcp,>9200/tcp goofy_sammet
  • I just installed this plugin to become more familiar with docker. How can I install images from the Docker Hub? Can I do it via the terminal or is there a way to do it from within the DockerUI?

  • ok I see I may have done it the wrong way around with the exposed port, looks like it should be :

    docker run --restart=always -d -p 9200:9000 -v /var/run/docker.sock:/docker.sock --name dockerui abh1nav/dockerui:latest -e="/docker.sock"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!