tag:blogger.com,1999:blog-1252230304278490810.post4755163647798863002..comments2018-03-30T05:48:35.746+02:00Comments on Linux on IBM Z and Containers: Creating Base ImagesUtz Bacherhttp://www.blogger.com/profile/16434228631659450390noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1252230304278490810.post-7035958498065827802018-03-08T22:25:02.711+01:002018-03-08T22:25:02.711+01:00Hi there, this script should pick up all the repo ...Hi there, this script should pick up all the repo settings from your host environment. If that has got repos enabled, they should be in /etc/yum resp. /etc/zypp.<br />So the question would be: are you able to install additional packages in the host with yum/zypper, but not in a container based on that image? If that is the case, the script does seem to work, and comparing the contents of /etc/yum or /etc/zypp would be the next step. What step are you stuck at?<br />Just FYI: there are two other options to get started in a different, if that is what you are after:<br />* if using SUSE, the Containers Module comes with sle2docker and sles*-docker-image RPMs that create a SLES base image for you<br />* use opensuse:tumbleweed as an image (it's an official image with openSUSE)<br />* use clefos as an image (it's an official image with a CentOS equivalent)<br />* or if you are not after an image that is related to SLES or RHEL, any of the images "ubuntu", "debian", "alpine" or even "busybox" works.<br />Obviously any but the first of these options requires Internet access, or at least a machine which can "docker pull" and "docker save" the image to move it to your Z environment.Utz Bacherhttps://www.blogger.com/profile/16434228631659450390noreply@blogger.comtag:blogger.com,1999:blog-1252230304278490810.post-19383118984407588282018-03-08T11:36:09.144+01:002018-03-08T11:36:09.144+01:00Image is created, but "There are no enabled r...Image is created, but "There are no enabled repos"<br />Could you please tell me if there is any way to enable repos to install few packages using this base image ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1252230304278490810.post-56747298120741566622015-03-26T12:14:08.993+01:002015-03-26T12:14:08.993+01:00Hi Neale, thanks a lot! I updated the script in th...Hi Neale, thanks a lot! I updated the script in the article.Utz Bacherhttps://www.blogger.com/profile/16434228631659450390noreply@blogger.comtag:blogger.com,1999:blog-1252230304278490810.post-15939620362684850782015-03-25T18:58:19.582+01:002015-03-25T18:58:19.582+01:00For yum, I learned that I needed to add --reposito...For yum, I learned that I needed to add --repository=7Server as the $releasever variable wasn't being expanded and the yum install would fail. brunswickheadshttps://www.blogger.com/profile/12720956539027147205noreply@blogger.com