Skip to content

problem with PS docker image #425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stashev opened this issue Aug 20, 2016 · 2 comments
Closed

problem with PS docker image #425

stashev opened this issue Aug 20, 2016 · 2 comments

Comments

@stashev
Copy link

stashev commented Aug 20, 2016

Just try this image https://hub.docker.com/r/lalyos/powershell/

?1h=PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
nnPS /> nn
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 0 Keys:
Exception:

System.DivideByZeroException: Attempted to divide by zero.
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

@hitzemann
Copy link

FWIW,

I get the exception on the microsoft/powershell:latest image, however PS is usable after that one. It happens only once when firing up the docker image.

Here's the output of the script mentioned when opening a new issue:
PS version: 6.0.0-beta
PSReadline version: 1.2
os: Linux c27fd96181fd 4.2.8 #1 SMP Tue Jun 6 06:03:33 CST 2017 x86_64 x86_64 x86_64 GNU/Linux
PS file version:

On the docker image there's no powershell.exe, but powershell. $((dir $pshome\powershell).VersionInfo.FileVersion) produces no output for that though.

@lzybkr
Copy link
Contributor

lzybkr commented Nov 4, 2017

Closing - I can't repro using the latest docker images. Reopen if you see it again.

@lzybkr lzybkr closed this as completed Nov 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants