Skip to content

Mising option to run x86_64 container on M1 MacBook #168

Description

@CodingMarkus

When I just run this on a M1 MacBook

# ./docker-wine --rdp        

I end up with this error

latest: Pulling from scottyhardy/docker-wine
no matching manifest for linux/arm64/v8 in the manifest list entries
Unable to find image 'scottyhardy/docker-wine:latest' locally
latest: Pulling from scottyhardy/docker-wine
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.

This confuses me, since when I run it like this

# ./docker-wine --rdp --arm64

it does work fine and according to script, all that this option does is

    --arm64)
        add_run_arg --platform="linux/arm64"
        IMAGE_TAG="arm64"
        ;;

So platform linux/arm64 is fine but when I searched for linux/arm64/v8 before it was an error?

Also I miss an option to force x86 after all Docker can run x86 code on ARM Macs. E.g. if I add the folllowing

    --x86_64)
        add_run_arg --platform="linux/x86_64"
        ;;

this also does work and now I have a container running in x86 emulation mode but this container doesn't allow log in (attempting to log in always fails).

Even though much slower, a x86_64 container is much more useful considering that a huge chunk of Windows software only exists for that architecture.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions