[PR #5] [CLOSED] feature: add containerized execution method for most linux/macOS users #66

Closed
opened 2026-02-28 02:14:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/pull/5
Author: @ghost
Created: 3/30/2019
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 1d8c27c add dockerfile and related docs

📊 Changes

2 files changed (+28 additions, -0 deletions)

View changed files

Dockerfile (+8 -0)
📝 README.md (+20 -0)

📄 Description

Hi @VFrontDe ,

Many thanks for your great work, this project helped me a lot!

Since I am not a windows user and not familiar with powershell, I hope the script can be executed on my linux machine without any knowledge of pwsh and nuget.

Things turned out to be really easy, vmware provides containerized vmware/powerclicore and I can just mount the script and run docker run -it -v $(pwd):/scripts --rm vmware/powerclicore /scripts/ESXi-Customizer-PS.ps1.

This way is much easier to get the script work for me, and in this pull request, I have added this method with a dockerfile which directly add the script from your github master branch (you may pin it to some release/commit in future), along with some related docs.

Maybe this is a bad idea to add a single file to a container image since it could be mounted from local filesystem, but at least this could ease life for someone :^)

Bad news: VMware.ImageBuilder is currently not working on powershell core, some work around may required, I am working on it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/VFrontDe-Org/ESXi-Customizer-PS/pull/5 **Author:** [@ghost](https://github.com/ghost) **Created:** 3/30/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`1d8c27c`](https://github.com/VFrontDe-Org/ESXi-Customizer-PS/commit/1d8c27cef781f1afa8f523ce0ed863084a194e62) add dockerfile and related docs ### 📊 Changes **2 files changed** (+28 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile` (+8 -0) 📝 `README.md` (+20 -0) </details> ### 📄 Description Hi @VFrontDe , Many thanks for your great work, this project helped me a lot! Since I am not a windows user and not familiar with `powershell`, I hope the script can be executed on my linux machine without any knowledge of `pwsh` and `nuget`. Things turned out to be really easy, vmware provides containerized [vmware/powerclicore](https://hub.docker.com/r/vmware/powerclicore) and I can just mount the script and run `docker run -it -v $(pwd):/scripts --rm vmware/powerclicore /scripts/ESXi-Customizer-PS.ps1`. This way is much easier to get the script work for me, and in this pull request, I have added this method with a dockerfile which directly add the script from your github master branch (you may pin it to some release/commit in future), along with some related docs. Maybe this is a bad idea to add a single file to a container image since it could be mounted from local filesystem, but at least this could ease life for someone :^) Bad news: VMware.ImageBuilder is currently not working on `powershell` core, some work around may required, I am working on it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 02:14:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ESXi-Customizer-PS#66
No description provided.