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

Provide a Docker Image for Apple Silicon #192

Closed
bobbyqul opened this issue Dec 1, 2021 · 7 comments · Fixed by #193
Closed

Provide a Docker Image for Apple Silicon #192

bobbyqul opened this issue Dec 1, 2021 · 7 comments · Fixed by #193

Comments

@bobbyqul
Copy link

bobbyqul commented Dec 1, 2021

I tried to run the amd64 image on the M1. Docker emulates the container, but i cannot connect to s3ninja.

@jakobvogel
Copy link
Member

Hello @bobbyqul 👋 Many thanks for getting in touch. We are aware of issues when using M1 hardware, see #174. However, we do not have such a machine available here. There are no plans to acquire one either. A pull request fixing this would be greatly appreciated.

@crisnicogonzalez
Copy link

Hi! I have the same issue.

@wSedlacek
Copy link

@jakobvogel I have been using the image for a few weeks on my M1 Max.
It runs as an amd64 application which uses more battery than if it were a native image and could be ran without the instruction translation, but it has been running just fine.

@jakobvogel
Copy link
Member

Hello @wSedlacek 👋 Many thanks for your message. I am very glad to hear that the image works. 😊 Did you need to set up anything in particular, or did it run out of the box?

@wSedlacek
Copy link

I have just been using this docker-compose.yml

version: '3.2'

services:
  s3:
    image: scireum/s3-ninja:latest
    ports:
      - '9444:9000'

Docker Desktop 4.2, macOS 12.0.1
I have had rosetta installed, but you might need to install it if you haven't already.

@jakobvogel
Copy link
Member

@wSedlacek Thank you very much!

@bobbyqul @crisnicogonzalez Can you please check your setup based on this information? If the image works for you afterwards, what is the crucial point we should put into the README file? Installation of Rosetta?

I will try myself once I get a hand on M1 hardware, but I currently don't have it at work and I do not intend to buy it myself – there are just more fun things to get, like another motorcycle… 😅

@hggh hggh closed this as completed in #193 Dec 20, 2021
hggh added a commit that referenced this issue Dec 20, 2021
change to OpenJDK 17 with a Docker Image for amd64 and arm64 (closes #192)
@hggh
Copy link
Member

hggh commented Dec 20, 2021

The new 7.2.3 version of S3Ninja is now available as Docker arm64 and amd64 image.

For migration on M1 Mac from amd64 to arm64 image, you have to delete your S3Ninja Container and the old S3Ninja image.

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

Successfully merging a pull request may close this issue.

5 participants