Stuck with samples/guides fail to start

I am new to Docker and want to learn Docker. However, none of the samples or guides work on the docker on windows. Did you guys really test it before release?

Following the sample, the command fail
docker run --interactive --tty ubuntu bash
Unable to find image ‘ubuntu:latest’ locally
latest: Pulling from library/ubuntu
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: no matching manifest for unknown in the manifest lis
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.
Following the Version:1.0 StartHTML:000000205 EndHTML:000005730 StartFragment:000005621 EndFragment:000005652 StartSelection:000005621 EndSelection:000005652 SourceURL:https://docs.docker.com/get-started/part2/

Get Started, Part 2: Containers, the friendlyhello failed also.

I am not sure how this product get test and released.

Hi @jiangyn,

can you give more details about ‘the friendlyhello failed also’ ?
Which part of the part 2(containers) you can not do?
I am a new one too in Docker and worked for me.

When you build what error is returned?

Can you confirm that you are in folder that contains the Dockerfile?

This is what I have:

I copy and paste the content form the web for the other three files.

Directory: C:\Users\jerryj\test1

Mode LastWriteTime Length Name


-a---- 2018-08-18 2:08 PM 687 app.py
-a---- 2018-08-18 2:06 PM 530 Dockerfile
-a---- 2018-08-18 2:07 PM 14 requirements.txt

PS C:\Users\jerryj\test1> docker build -t friendlyhello .
Sending build context to Docker daemon 5.12kB
Step 1/7 : FROM python:2.7-slim
2.7-slim: Pulling from library/python
no matching manifest for unknown in the manifest list entries
PS C:\Users\jerryj\test1>

BTW, this is docker info output

PS C:\Users\jerryj\test1> docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 18.06.0-ce
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 logentries splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 15063 (15063.0.amd64fre.rs2_release.170317-1834)
Operating System: Windows 10 Enterprise Version 1703 (OS Build 15063.1266)
OSType: windows
Architecture: x86_64
CPUs: 16
Total Memory: 7.841GiB
Name: DESKTOP-G1DG9HA
ID: NF44:MUIG:LT4L:Z454:K4CP:JV2Q:OXDG:RVDX:DYQE:4WGY:RSDV:MFAI
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: -1
Goroutines: 30
System Time: 2018-08-19T12:03:37.1215254-05:00
EventsListeners: 2
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Check this thread No able to build the example code .

Hi there,

I made some progress with the link by switching to Linux containter, but I still hit some problem. In step 4, it says not matching distribution of the Flash.

What should I do next?

Yinan

PS C:\Users\jerryj\test1> docker build --platform linux -t friendlyhello .
Sending build context to Docker daemon 5.12kB
Step 1/7 : FROM python:2.7-slim
2.7-slim: Pulling from library/python
be8881be8156: Pull complete
44247e56d488: Pull complete
9b1ccb116b10: Pull complete
94c785725d8a: Pull complete
Digest: sha256:447e3a799a60fa5c98b1e429f3f814fe55642b1a38099702720d8ae96e9eaeaf
Status: Downloaded newer image for python:2.7-slim
—> 40792d8a2d6d
Step 2/7 : WORKDIR /app
—> Running in 4ac4cfa4442e
Removing intermediate container 4ac4cfa4442e
—> f7e2ea5041be
Step 3/7 : ADD . /app
—> 45fb55143eeb
Step 4/7 : RUN pip install --trusted-host pypi.python.org -r requirements.txt
—> Running in 04237df5201d
Collecting Flash (from -r requirements.txt (line 1))
Could not find a version that satisfies the requirement Flash (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Flash (from -r requirements.txt (line 1))
The command ‘/bin/sh -c pip install --trusted-host pypi.python.org -r requirements.txt’ returned a non-zero code: 1