GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PowerShell/PowerShell-Docker: Repository for building PowerShell Docker images

BranchesTags
Open more actions menu

Latest commit

 

History

552 Commits
552 Commits

Folders and files

NameName
Last commit message
Last commit date
.config
.config
 
 
.devcontainer
.devcontainer
 
 
.github
.github
 
 
.pipelines
.pipelines
 
 
.poshchan
.poshchan
 
 
.vscode
.vscode
 
 
.vsts-ci
.vsts-ci
 
 
EV2Specs/ServiceGroupRoot
EV2Specs/ServiceGroupRoot
 
 
assets
assets
 
 
docs
docs
 
 
release
release
 
 
tests
tests
 
 
tools
tools
 
 
unittests
unittests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitpod.yml
.gitpod.yml
 
 
.markdownlint.json
.markdownlint.json
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
build.ps1
build.ps1
 
 
createAllManifests.ps1
createAllManifests.ps1
 
 
createManifest.ps1
createManifest.ps1
 
 
republish.ps1
republish.ps1
 
 
vsts-ci.yml
vsts-ci.yml
 
 

Repository files navigation

PowerShell-Docker

These Dockerfiles enable running PowerShell in a container for each Linux distribution we support.

This requires Docker 17.05 or newer. It also expects you to be able to run Docker without sudo. Please follow Docker's official instructions to install Docker correctly.

Release

The release containers derive from the official distribution image, such as debian:11, then install dependencies, and finally install the PowerShell package.

These containers live at Microsoft Artifact Registry.

At about 440 megabytes, they are decently minimal, with their size being the sum of the base image (200 megabytes) plus the uncompressed package (120 megabytes), and about 120 megabytes of .NET Core and bootstrapping dependencies.

Community

The Dockerfiles in the community folder were contributed by the community and are not yet officially supported.

Examples

To run PowerShell from using a container:

$ docker run -it mcr.microsoft.com/powershell
Unable to find image 'mcr.microsoft.com/powershell:latest' locally
latest: Pulling from mcr.microsoft.com/powershell
cad964aed91d: Already exists
3a80a22fea63: Already exists
50de990d7957: Already exists
61e032b8f2cb: Already exists
9f03ce1741bf: Already exists
adf6ad28fa0e: Pull complete
10db13a8ca02: Pull complete
75bdb54ff5ae: Pull complete
Digest: sha256:92c79c5fcdaf3027626643aef556344b8b4cbdaccf8443f543303319949c7f3a
Status: Downloaded newer image for mcr.microsoft.com/powershell:latest
PowerShell
Copyright (c) Microsoft Corporation. All rights reserved.

PS /> Write-Host "Hello, World!"
Hello, World!

Known Issues

See Known Issues

Developing and Contributing

Please see the Contribution Guide for general information about how to develop and contribute.

For information specific to PowerShell-Docker see Development.

If you have any problems, please consult the known issues, developer [FAQ][], and GitHub issues. If you do not see your problem captured, please file a new issue and follow the provided template. If you are developing .NET Core C# applications targeting PowerShell Core, please check out our FAQ to learn more about the PowerShell SDK NuGet package.

Also make sure to check out our PowerShell-RFC repository for request-for-comments (RFC) documents to submit and give comments on proposed and future designs.

Legal and Licensing

PowerShell is licensed under the MIT license.

Windows Docker Files and Images

License: By requesting and using the Container OS Image for Windows containers, you acknowledge, understand, and consent to the Supplemental License Terms available on Docker hub:

  • Windows Server Core
  • Nano Server

Telemetry

By default, PowerShell collects the OS description and the version of PowerShell (equivalent to $PSVersionTable.OS and $PSVersionTable.GitCommitId) using Application Insights. To opt-out of sending telemetry, create an environment variable called POWERSHELL_TELEMETRY_OPTOUT set to a value of 1 before starting PowerShell from the installed location. The telemetry we collect fall under the Microsoft Privacy Statement.

Governance

Governance policy for PowerShell project is described here.

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.

About

Repository for building PowerShell Docker images

Topics

hacktoberfest

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

448 stars

Watchers

22 watching

Forks

156 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.