Closed bradfordb-vmware closed 4 years ago
- Is there a newer GCE VM image I should be using when building Docker images?
- Is there a newer Docker image that I should be using in my
FROM
statement?
There will be updated images. The updated Cloud Images (which includes the new containerbuild-regionsrv service) and the updated base container images (which includes the susecloud zypper plugin) are not released yet. We are working on getting them released, but it might still take a while.
- Is there a way to install the
susecloud
plugin in the image I am building?
Until the updates are released you cloud try using the test for the "Virtualization:containers" project in OBS. SLE12 packages should be available here: https://download.opensuse.org/repositories/Virtualization:/containers/SLE_12_SP4/x86_64/container-suseconnect-2.3.0-1.1.x86_64.rpm. You should be able to download that, copy that in the Container build and install it via a RUN rpm ...
call inside the Dockerfile
.
However you'll also need the containerbuild-regionsrv
installed on the host instance. I guess the quickest way would be to get it directly from the git repository as I don't think we have that package in OBS. The github repo is: https://github.com/SUSE-Enceladus/cloud-regionsrv-client/. I think you'll only need the usr/sbin/containerbuild-regionsrv
file. The .service
file is also living there.
Thanks for suggestions. I'll give them a try.
We are working on getting them released, but it might still take a while.
Is there a mailing list/RSS feed that I could watch to know when the update images have been released?
I tried installing cloud-regionsrv-client
from the linked GitHub repo but was unable to run it. I've open two issues there with more info:
The above issues have been addressed so I'll close this issue. (Feel free to re-open in case I overlooked something)
I am using a combination of Creating a Custom SLE 12 Image and Example Dockerfiles to build a SLES 12SP5 Docker image using a Google Compute Engine (GCE) on-demand VM (image is
sles-12-sp5-v20200610
).The Dockefile is
which I am building with
but it is failing with the following error
The digest of the base Docker image (
registry.suse.com/suse/sles12sp5:latest
) issha256:2e6da53d3dba5c5eec8d7b5e81d4c920fec52b10bddb167bc6f4f3191e28f08e
Following Building images on-demand SLE instances in the public cloud, when I start the
containerbuild-regionsrv
service I get the following error:Questions
FROM
statement?susecloud
plugin in the image I am building?