Portainer: Much Ado About Nothing

  • Hi guys,


    regarding portainer I've got two things...:


    1) There is already a pretty handy feature in portainer which enables updating containers very easily! That alone is a feature which should everyone prefer portainer over OMVs build-in docker utility. In portanier GUI click: Containers -> Select Container -> Click “Recreate” followed by “Pull latest image”. That pulls the latest image for the container and redeploys the container with that latest image. So you won't be needed to a) reconfigure the docker one by one with every param. nor b) use tools like watchtower


    2) Actually more like a question, is it preferred to run portainer itself also as docker image? Why not install it natively, is there any reason?
    How is "Install Portainer" in OMV5 done, installed natively or as well as docker image?




    Thanks
    Stefan

  • Actually more like a question, is it preferred to run portainer itself also as docker image?

    The portainer installation page seems to think it is the preferred method of installation - https://www.portainer.io/installation/


    Why not install it natively, is there any reason?

    Why do you need it installed natively? You can install it natively by hand if you need it but I don't know of any benefits. Plus you just described how easy it is to update and image. If portainer was installed natively, it would be much more difficult to update to a newer version of portainer.


    How is "Install Portainer" in OMV5 done, installed natively or as well as docker image?

    Docker image as the installation page describes. https://github.com/OpenMediaVa…in/omv-installdocker#L240

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


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

  • The portainer installation page seems to think it is the preferred method of installation - https://www.portainer.io/installation/

    Why do you need it installed natively? You can install it natively by hand if you need it but I don't know of any benefits. Plus you just described how easy it is to update and image. If portainer was installed natively, it would be much more difficult to update to a newer version of portainer.

    Docker image as the installation page describes. https://github.com/OpenMediaVa…in/omv-installdocker#L240


    i tried to understand the Portainer in a docker too....


    Any other app installed on Portainer will be.... a docker inside a docker?


    I'm a little confused in this point about it.


    Thanks in advance.

  • Hi guys,


    regarding portainer I've got two things...:


    1) There is already a pretty handy feature in portainer which enables updating containers very easily! That alone is a feature which should everyone prefer portainer over OMVs build-in docker utility. In portanier GUI click: Containers -> Select Container -> Click “Recreate” followed by “Pull latest image”. That pulls the latest image for the container and redeploys the container with that latest image. So you won't be needed to a) reconfigure the docker one by one with every param. nor b) use tools like watchtower

    Unfortunately, that trick does not (yet) work on Portainer itself.

  • Hi guys,


    I've been mucking around for the last few hours with OMV 5 with Techno Dad's video but portainer wont work.


    I keep getting the following error:


    arch :: amd64
    option :: portainer
    state :: install
    No portainer containers or images to remove.
    Done.


    I've uninstalled OMV extras a few times and reinstalled - tired direct for Putty but still can't get it to work.



    When running omv-atpclean i get the following:


    1. Cleaning apt cache files...


    2. Clearing available dpkg packages...


    3. Removing apt lists...
    removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'
    removed directory '/var/lib/apt/lists/auxfiles'
    removed '/var/lib/apt/lists/lock'
    removed directory '/var/lib/apt/lists/partial'


    4. Purging internal cache ...


    5. Removing OpenMediaVault cache packages...
    removed '/var/cache/openmediavault/archives/Packages'


    6. Creating new OpenMediaVault packages file...


    7. Updating apt...
    Get:1 file:/var/cache/openmediavault/archives InRelease
    Ign:1 file:/var/cache/openmediavault/archives InRelease
    Get:2 file:/var/cache/openmediavault/archives Release
    Ign:2 file:/var/cache/openmediavault/archives Release
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Err:5 http://deb.debian.org/debian buster InRelease
    Could not resolve 'deb.debian.org'
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Err:6 http://security.debian.org/debian-security buster/updates InRelease
    Could not resolve 'security.debian.org'
    Err:7 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease
    Could not resolve 'dl.bintray.com'
    Err:8 https://download.docker.com/linux/debian buster InRelease
    Could not resolve 'download.docker.com'
    Err:9 http://linux.teamviewer.com/deb stable InRelease
    Could not resolve 'linux.teamviewer.com'
    Err:10 http://packages.openmediavault.org/public usul InRelease
    Could not resolve 'packages.openmediavault.org'
    Err:11 https://openmediavault.github.io/packages usul InRelease
    Could not resolve 'openmediavault.github.io'
    Err:12 http://deb.debian.org/debian buster-updates InRelease
    Could not resolve 'deb.debian.org'
    Err:13 https://dl.bintray.com/openmed…in-developers/usul-extras buster InRelease
    Could not resolve 'dl.bintray.com'
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Reading package lists...


    8. Saving current package list...
    Done.


    Any ideas what's going on?


    Cheers

  • Thanks guys - is there a way to test?


    I downloaded the OMV extras to the machine (thought Putty with the code) so i think it is definitely connected to the internet.


    I'm on my laptop now and can access the home screen so i think the network is working.

  • Okay can definitely ping:


    --- 8.8.8.8 ping statistics ---
    1470 packets transmitted, 1470 received, 0% packet loss, time 1935ms
    rtt min/avg/max/mdev = 23.323/24.009/34.663/0.791 ms


    so no clue what the problem is...

  • I just uploaded omv-extras 5.1.11 that should give better output to hopefully help figure out why some systems aren't working.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


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

  • is there any way to enable portainer to show the container's default settings like cockpit and the old omv-docker plugin did? setting it up manually in portainer is a pain, and cockpit does not support macvlan :(


    setting up a new container on the old docker gui was a breeze, now it's a hassle


    pasted-from-clipboard.png

    HP Proliant Microserver Gen8, G2020T, 4 GB ECC RAM, 3x WD RED 3TB + 1x WD RED 4TB + OCZ Vertex3 128 GB SSD

  • setting up a new container on the old docker gui was a breeze, now it's a hassle

    I would agree, however, Portainer is quite straightforward and the use of docker compose files using stacks is an easier way to deploy a container, have a look in the guides section for some examples, and each container in docker hub will usually have a compose file which requires editing to point to your own host shares.

Participate now!

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