Skip to content

Generic Docker "installation" in README #9

@Yrlish

Description

@Yrlish

Hi,

I want to suggest adding these steps in the README for "installation" (this is more like usage really), because I didn't want to install PowerShell in my Linux-distro, has no Windows machine and have Docker available.

  1. Start PowerShell container: docker run --interactive --tty mcr.microsoft.com/powershell:latest
  2. Inside container: Invoke-WebRequest -Uri https://github.com/bryanroscoe/shield_optimizer/raw/refs/heads/main/Shield-Optimizer.ps1 -OutFile Shield-Optimizer.ps1
  3. Run ./Shield-Optimizer.ps1
  4. Connect via auto discovery or manually with IP

I had to connect manually, doesn't know if that's because auto discovery didn't work inside docker or if it's my network. Other than that, this utility tool worked perfectly!

I don't know too much of PowerShell, maybe there is a better one-liner for the docker run command, doing everything; starting container, download the script and executing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions