Docker Community Forums

Share and learn in the Docker community.

Docker run <image> native command error on PS ISE


(Carsten Steckel) #1

Expected behavior

docker run on PS ISE does not throw an notspecified error if unable to find image locally.

Actual behavior

powershell ise: docker run

PS D:\Entwicklung\docker-beta> docker run owncloud
docker : Unable to find image ‘owncloud:latest’ locally
In Zeile:1 Zeichen:1

  • docker run owncloud
  •   + CategoryInfo          : NotSpecified: (Unable to find ...latest' locally:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    

latest:
Pulling from library/owncloud
efd26ecc9548:
Already exists
a3ed95caeb02:
Already exists
589a9d9a7c64:
[…]

Information

Windows 10 Pro 1511 Build 10586.164 - German

PS C:\Users\carst> docker info
Containers: 3
Running: 3
Paused: 0
Stopped: 0
Images: 4
Server Version: 1.11.0-rc3
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 21
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.4.6
Operating System: Alpine Linux v3.3
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.953 GiB
Name: docker
ID: ******************************
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

PS C:\Users\carst> docker version
Client:
Version: 1.11.0-rc3
API version: 1.23
Go version: go1.5.3
Git commit: eabf97a
Built: Fri Apr 1 23:33:49 2016
OS/Arch: windows/amd64

Server:
Version: 1.11.0-rc3
API version: 1.23
Go version: go1.5.3
Git commit: eabf97a
Built: Fri Apr 1 23:33:49 2016
OS/Arch: linux/amd64

Steps to reproduce the behavior

  1. Install docker.msi
  2. Open PowerShell ISE
  3. run docker run -d -p 80:80 owncloud:8.1

(Michael Friis) #2

As mentioned in my reply to your other post I don’t think this is a problem with Docker for Windows. I recommend following up on the Docker issue: https://github.com/docker/docker/issues/21368