Sign inSign up

tnk4on/powercli

By tnk4on

Updated almost 5 years ago

This PowerCLI container image is smaller than the official VMware image

Image
0

2.3K

tnk4on/powercli repository overview

Powercli: Container Image

Dowonload ---> [Quay.io: tnk4on/powercli on Quay.io] or [Docker.io]

Current Version: PowerShell:v7.2.0

GitHub Repository: https://github.com/tnk4on/powercli

  • This repository assumes the use of Podman and Buildah. If you are using Docker, please read as appropriate.

Description

  • PowerCLI: A multi-platform scripting language to manage your VMware infrastructure on any OS.
Reference

About container images

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
Features
  • Image size smaller than official VMware image(vmware/powerclicore)
  • PowerCLI-Example-Scripts are not included
  • POWERSHELL_TELEMETRY_OPTOUT is set to true

How to use

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

How to build a container image

$ 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

Tag summary

Content type

Image

Digest

Size

168.5 MB

Last updated

almost 5 years ago

docker pull tnk4on/powercli