- Log in to the deployment host.
- If podman-docker is installed on the Deployer Host, ignore the following message and warnings while running docker commands.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
- Download the deployment container image bundle from My Downloads on to the deployment host under the
$HOME
directory. The package is named asVMware-Deployment-Container-<VERSION>-<TAG>.tar.gz
. For example,VMware-Deployment-Container-2.4.2-497.tar.gz
.Note: To verify the downloaded package, run the following command on your deployment host.$ sha256sum VMware-Deployment-Container-<VERSION>-<BUILD_ID>.tar.gz
This command displays the SHA256 fingerprint of the file. Compare this string with the SHA256 fingerprint provided next to the file in the My Downloads site and ensure that they match.# To load the docker image, execute the following command on the deployment host. $ docker load -i <dir/on/deployment host>/VMware-Deployment-Container-2.4.2-497.tar.gz # Verify the deployment container image on deployment host by executing the following command. $ docker images
- Download the K8s Installer from My Downloads to the deployment host under the
$HOME
directory. Typically this package is named as VMware-K8s-Installer-<VERSION>-<BUILD_ID>.tar.gz. For example, .VMware-K8s-Installer-2.3.3-5.tar.gzNote: To verify the downloaded package, run the following command on your deployment host.$ sha256sum VMware-K8s-Installer-2.3.3-5.tar.gz
This command displays the SHA256 fingerprint of the file. Compare this string with the SHA256 fingerprint provided next to the file in the My Downloads download site and ensure that they match. - Extract the K8s Installer as follows. This creates a folder called K8s-installer under the
$HOME
directory.$tar -xzvf VMware-K8s-Installer-<VERSION>-<BUILD_ID>.tar.gz
- Navigate to the K8s-installer directory and verify that there are 2 directories named scripts and cluster.
- Run the following command if podman-docker is installed in the deployment host.
export DOCKER_HOME=$(docker run --rm localhost/deployment:2.4.2-497 sh -c 'echo $HOME')
docker run \ --rm \ -v $HOME:$DOCKER_HOME \ -v $HOME/.ssh:$DOCKER_HOME/.ssh \ -v /var/run/podman/podman.sock:/var/run/podman.sock \ -v $(which podman):/usr/local/bin/podman:ro \ -v /etc/docker:/etc/docker:rw \ -v /opt:/opt \ --network host \ -it localhost/deployment:2.4.2-497 \ bash
OR
- Run the following command if docker is installed in the deployment host.
export DOCKER_HOME=$(docker run --rm deployment:2.4.2-497 sh -c 'echo $HOME')
docker run \ --rm \ -v $HOME:$DOCKER_HOME \ -v $HOME/.ssh:$DOCKER_HOME/.ssh \ -v /var/run/docker.sock:/var/run/docker.sock \ -v $(which docker):/usr/local/bin/docker:ro \ -v $HOME/.docker:$DOCKER_HOME/.docker:ro \ -v /etc/docker:/etc/docker:rw \ -v /opt:/opt \ --network host \ -it deployment:2.4.2-497 \ bash