Windows Container build environment

  • Windows server 2022 with docker desktop on libvirt for building custom windws container images for OCP

Install Windows Server 2022

Boot, point, click, next, next, next ...

Basic stuff

Install virtio tools and guest tools

Run windows update until fully updated

OC utils

mkdir ./install &&  cd ./install
curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz > oc.tar.gz
tar zxf oc.tar.gz

openshift-install

OCP_VERSION=latest-4.11
curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/$OCP_VERSION/openshift-install-linux.tar.gz > openshift-install-linux.tar.gz
tar zxvf openshift-install-linux.tar.gz