z/OS Container Extensions (zCX)

z/OS Container Extensions (zCX)

z/OS Container Extensions (zCX)

Deploying Linux on Z containerized applications inside z/OS

 View Only
  • 1.  Portainer 2.0

    Posted Fri April 23, 2021 03:47 PM
    Hi, 

    I am looking for anyone who has Portainer 2.0 installed, and wondering if they see either of the two issues below.
    I will also open an issue on Github but I'm sure they will say update to Portainer 2.1, which does yet work on zCX (s390x architecture). 
    The 2nd issue re volume mappings for non-admin users is the significant one.

    Bruce

    1. Message when first viewing an endpoint
       -  Cannot read property 'length' of null message when first look at endpoint. 
        - Think it's a javascript error. Not sure what variable it's wrt.
        - no apparent impact. 
    2. User1 can't "select a volume":  Chrome and Edge the same. Error in Portainer permissions?
      • Users menu: setup "user1" as non-Administrator.
      • Portainer settings: e.g.  http://zcxName:9000/#!/settings
        • Host and Filesystem: "Enable volume management for non-administrators" = enabled
        • Docker Endpoint Security Options: set all buttons to disabled i.e. "Disable XXX for non-admins" = No. 
      • Containers: "+ Add container"
        • Advanced container settings: select Volumes tab
        • Volume mapping: select "+map additional volumes"
        • Container and Volume settings appear
        • Volume box says "Select a volume" with down-arrow prompt, but no volumes appear.


    ------------------------------
    Bruce Marshall
    ------------------------------


  • 2.  RE: Portainer 2.0

    Posted Wed August 10, 2022 12:45 PM
    Hi Bruce,
    Sorry, missed this discussion post.  Hopefully, you got past this issue.  Here is the latest on Portainer and how you could deploy on zCX:
    https://ibm.github.io/ibm-z-oss-hub/containers/portainer.html
    Please let us know if you have any additional issues or concerns.

    Thanks

    ------------------------------
    Ahilan Rajadeva
    ------------------------------



  • 3.  RE: Portainer 2.0

    Posted Thu May 18, 2023 01:55 AM

    Hi Bruce,

    I followed Ahilan's link, which led me to a working Portainer container on my zCX system, but I found that I had to change the run command to the following using port 9443, as using port 9000 as suggested led to a timeout.

    docker run -v /var/run/docker.sock:/var/run/docker.sock:ro -v portainer_data:/data -p 9443:9443 -p 8000:8000 -d --name portainer icr.io/ibmz/portainer

    I found out about the change to port 9443 by reading the doc on the Portainer Linux install page here:  https://docs.portainer.io/start/install/server/docker/linux.  Basically I followed its instructions after the pull from icr.io and it all worked as expected.

    I hope this helps.  Note that the resultant Portainer is shown as v2.13.1 and not 2.0.

    Peter



    ------------------------------
    Thanks and regards,
    Peter Bishop
    ------------------------------