StefanScherer/windows-docker-machine

docker: failed to register layer: re-exec error: exit status 1

davetapley opened this issue · 1 comments

I don't know for sure that this is a window-docker-machine issue, but I'd ❤️ if someone could at least repro so I know I'm not doing anything silly.

I followed the Working on macOS
steps using --provider virtualbox 2019-box.

Everything worked great, until I tried to docker run -it python:3.4.3, which fails with:

$ docker run -it python:3.4.3
Unable to find image 'python:3.4.3' locally
3.4.3: Pulling from library/python
Image docker.io/library/python:3.4.3 uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
d4bce7fd68df: Extracting [==================================================>]  51.35MB/51.35MB
a3ed95caeb02: Download complete 
816152842605: Download complete 
5dcab2c7e430: Download complete 
dc54ada22a60: Download complete 
b7b0de78f891: Download complete 
5fced8d9b8b6: Download complete 
399de0505080: Download complete 
c0a4224a41f8: Download complete 
docker: failed to register layer: re-exec error: exit status 1: output: Failed to safefile.OpenRelative failed in Win32: open \\?\C:\ProgramData\docker\windowsfilter\b86205e5963a71bf94a96a08094b50846f138f3ed7afc7811361306a7c478665\usr\share\man\man3\Locale::gettext.3pm.gz: path contains invalid character `:` (0x1f) usr\share\man\man3\Locale::gettext.3pm.gz.
See 'docker run --help'.

I'm going to give it a spin with 2016-box, and will report back.

Edit: Confirmed same error with 2016-box.

Well, python:3.4.3 is quite old.

$ docker run --rm mplatform/mquery python:3.4.3
Unable to find image 'mplatform/mquery:latest' locally
latest: Pulling from mplatform/mquery
db6020507de3: Pull complete 
f11a2bcbeb86: Pull complete 
Digest: sha256:e15189e3d6fbcee8a6ad2ef04c1ec80420ab0fdcf0d70408c0e914af80dfb107
Status: Downloaded newer image for mplatform/mquery:latest
Image: python:3.4.3
 * Manifest List: No
 * Supports: amd64/linux

I recommend using a newer Python 3 image, these are multi-arch / multi-os:

$ docker run --rm mplatform/mquery python:3.8.2
Image: python:3.8.2
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v5
   - linux/arm/v7
   - linux/arm64
   - linux/386
   - linux/mips64le
   - linux/ppc64le
   - linux/s390x
   - windows/amd64:10.0.14393.3630
   - windows/amd64:10.0.17763.1158