Skip to content

Path Issues nanoserver 6.2.0-nanoserver-1809_kb4480116_amd64 #228

@TurtleBeach

Description

@TurtleBeach

Steps to reproduce

Start a container based on the Powershell nanoserver image in title, making CMD the default shell and leave it (CMD) running.
When container starts, type pwsh to start Powershell

Expected behavior

Powershell should start

Actual behavior

Powershell fails to start because C:\Program Files\Powershell is not in the path.

Also, a semicolon appears to be required at the end of the last path entry.

Environment data

> docker info
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 133
Server Version: 18.09.2
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: ics l2bridge l2tunnel nat null overlay transparent
 Log: awslogs etwlogs fluentd gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows 10 Pro Version 1809 (OS Build 17763.437)
OSType: windows
Architecture: x86_64
CPUs: 8
Total Memory: 63.95GiB
Name: Iguana
ID: xxxxx
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: -1
 Goroutines: 62
 System Time: 2019-05-06T14:27:40.4320753-05:00
 EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
> $PSVersionTable
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions