1. Log in to the deployment host.
  2. 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.
  3. Download the deployment container image bundle from My Downloads on to the deployment host under the $HOME directory. The package is named as VMware-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
  4. 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.gz
    Note: 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.
  5. 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
  6. Navigate to the K8s-installer directory and verify that there are 2 directories named scripts and cluster.
  7. 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

  8. 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