Dowonload ---> [Quay.io: ] or [Docker.io]
- This repository assumes the use of Podman and Buildah. If you are using Docker, please read as appropriate.
- PowerCLI: A multi-platform scripting language to manage your VMware infrastructure on any OS.
- VMware PowerCLI - VMware {code}
- vmware/powerclicore: PowerCLI Core Dockerfile
- PowerShell/PowerShell: PowerShell for every system!
There are four types of container images depending on how they are built
tnk4on/powercli:latest,mcr-alpine-3.14
-> Base Image:mcr.microsoft.com/powershell:mcr-alpine-3.14
tnk4on/powercli:ubi8-minimal
-> Base Image:ubi8-minimal:latest
tnk4on/powercli:alpine-scratch
-> Base Image:alpine:3.14
tnk4on/powercli:photon
-> Base Image:photon:4.0
- Image size smaller than official VMware image(vmware/powerclicore)
- PowerCLI-Example-Scripts are not included
POWERSHELL_TELEMETRY_OPTOUT
is set to true
$ podman run --rm -it tnk4on/powercli
Note: CMD
is set to pwsh
command. You can override the execution command by specifying the command as an argument.
$ git clone https://github.com/tnk4on/powercli
$ cd powercli/Containerfile.d
$ TYPE=mcr-alpine
$ buildah bud -t tnk4on/powercli -f Containerfile.${TYPE}
Note: TYPE
is the name you want to build with (e.g. alpine-scratch)
TYPE
- alpine-scratch
- mcr-alpine
- photon
- ubi8-minimal