Docker GUI plugin now stable

  • @luxflow


    It's version 17.03.0-ce. Docker is running, and I tested it with docker run hello-world. However, the OMV plugin won't let me enable it or manage images from inside it. The plugin version i am using is 3.1.5.


    I also rebooted my OMV server a few times, but that didn't help.



    Code
    root@omv:~# docker --version
    Docker version 17.03.0-ce, build 60ccb2
    Code
    root@omv:~# docker run hello-world
    Unable to find image 'hello-world:latest' locally
    latest: Pulling from library/hello-world
    78445dd45222: Pull complete
    Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7
    Status: Downloaded newer image for hello-world:latest
    
    
    Hello from Docker!
    This message shows that your installation appears to be working correctly.
    • Offizieller Beitrag

    Fixed. No reason to check for the numbers with a regex. New version uploaded.

  • For information in OMV 2.X
    To fix the trouble, I've made these changes in the /usr/chare/openmediavault/engined/rpc/docker.inc file, in function : getSettings():


    PHP: docker.inc
    $cmd = "docker --version 2>&1";
            OMVUtil::exec($cmd, $out, $res);
            if (!preg_match('/^Docker version.*$/', $out[0], $matches)) {
                $dockerVersionInfo = "Docker not installed";
            } else {
                $dockerVersion = $matches[1];
                $cmd = "docker version";

    After that, a simple :
    service openmediavault-engine restart and it works !

    • Offizieller Beitrag

    Thanks. I guess I should've changed the OMV 2.x version when I changed the 3.x version. In the repo now.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • here is screenshot of my container setting
    I can edit transmission config file via OMV samba without issue


    check acl of sharedfolder using 'getfacl'
    and 'mount' to show mounting option..

    Guys, I'm asking you for help.


    For a long time, I can not run the transmission in a docker (linuxserver/transmission). The problem is that after restarting the container, the active torrents start downloading again, and those that are on pause keep progress.
    I'm trying to make it work on a virtual box


    That's what I'm doing :)


    1. create file system `data`


    2. create user `stan`


    3. create shared folder `media` with r/w for user `stan`


    4. enable smb/cifs and add share `media`


    5. create folders on `media` share



    6. create docker container
    http://imgur.com/EQwrxrM


    logs after start/restart container - https://pastebin.com/Z9TY3r2Y

    • Offizieller Beitrag

    Should i do anything on its container after i pulled the updated image?

    I don't know depends what you really want. Rarely images contain updates on their sw inside, sometimes they just polish the dockerfile for building the container, that triggers an automated build from github to dockerhub. Think about plex in linuxserver, you don't need to update the image as every restart checks for updates, same goes for mono based sw like sonarr, radarr or emby.
    If the image does really contain new sw then pull it, delete the old container and run it again. Modify button doesn't work for this

  • Hi, i´m need some help by my first try with Docker.


    I´m succesfully Activated the plugin and pull the headphones image. The host mode is "Host" and i´m just ad some Volumes from my OMV. So the webinterface sould be "xxx.xxx.xxx.xxx:8181" or did i mussundersud something?


    Beacuse under OMV IP:8181 nothing happens?!?

    • Offizieller Beitrag

    I just want to post here a TESTING version of the plugin with some new features on top the existing one.


    This new version includes


    * The full restart policy menu. No, always, unless-stopped and on-failure
    * Basic macvlan support, is a dropdown menu to select the network and to enter the IP field. The macvlan network still needs to be created at CLI
    * Now the modify button retains the extra options


    Feel free to test this in a VM or similar env.


    Edit1: Added clear log button for containers
    Edit2: The macvlan network menu now displays the corresponding subnet
    Edit3: The start, stop, restart button are all merged into one now for displaying the clear log button
    Edit4: fixed the incorrect variable parsing, thanks to @Symbiot for reporting this


    Thanks


    https://www.dropbox.com/s/7c8k….9_TESTING_amd64.deb?dl=0

Jetzt mitmachen!

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