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.
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.
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>
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