Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trouble starting docker container on m1 #25

Open
chanana opened this issue Aug 9, 2023 · 3 comments
Open

trouble starting docker container on m1 #25

chanana opened this issue Aug 9, 2023 · 3 comments

Comments

@chanana
Copy link

chanana commented Aug 9, 2023

Using the following command:

docker run --platform linux/amd64 -v $(pwd):/data:rw chambm/pwiz-skyline-i-agree-to-the-vendor-licenses:latest wine msconvert ./sample_file.d --64 --zlib --mz64 --inten64 --combineIonMobilitySpectra -o ./ --mzML

and I get:

assertion failed [result.value != EEXIST]: VmTracker attempted to allocate existing mapping
(ThreadContextVm.cpp:47 mmap)
 assertion failed [result.value != EEXIST]: VmTracker attempted to allocate existing mapping
(ThreadContextVm.cpp:47 mmap)
 Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Internal error.

I used the docker image from here

my laptop / os is:

  • macOS 13.5 (22G74)
  • MacBook Pro M1
  • Docker version 24.0.2, build cb74dfc
@kheal
Copy link

kheal commented Nov 9, 2023

I am having this same issue. Even with the image's suggestion of running docker run -it --rm chambm/pwiz-skyline-i-agree-to-the-vendor-licenses wine msconvert --help returns nothing - with or without specifying the platform.

The docker image is only built with AMD64 architecture, which can only be run via emulation on the M1 chips (see here for summary of this: https://docs.docker.com/desktop/troubleshoot/known-issues/). It would be great if the proteowizard image could be built as a multi-architecture image which I believe would fix this issue.. There are instructions here: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/?_gl=1*nvz8p6*_ga*MTE5MDAzMjYyNS4xNjk4MTcwODE4*_ga_XJWPQMJYHQ*MTY5OTU3MTgwNi4xMC4wLjE2OTk1NzE4MDYuNjAuMC4w .

@karloyz
Copy link

karloyz commented Sep 6, 2024

Up!

Hoping a multi-arch version will be released ...

@chambm
Copy link
Member

chambm commented Sep 6, 2024

The executables inside the container are only for Windows 64-bit. They use vendor DLLs that aren't available for ARM*. So like you said, that will require emulation. If anybody figures out a way to embed that emulation in the container and make it run smoothly, I'll be happy to integrate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants