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

docker driver not available for arm #1973

Open
jinnko opened this issue Apr 22, 2020 · 12 comments
Open

docker driver not available for arm #1973

jinnko opened this issue Apr 22, 2020 · 12 comments
Assignees
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. type/enhancement Something existing could be improved

Comments

@jinnko
Copy link

jinnko commented Apr 22, 2020

Describe the bug
The docker driver plugin is not built for arm.

To Reproduce

  1. Install plugin
  2. Attempt to enable it fails

Expected behavior
Installation of the docker driver should be available for armhf (v6) and armv7 separately.

Environment:

  • Infrastructure: Raspberry Pi 1B
  • Deployment tool: docker plugin install

Screenshots, Promtail config, or terminal output
After installing the plugin I can locate the where it was installed on the host and confirm the binary is amd64:

root raspbian 526ef6991bda689b9366b9cb42ef0de340df8ffce3c6ef54733f547ad96f6727/rootfs # file bin/docker-driver          
bin/docker-driver: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=_C73CR2hWYzGIDtfNmpI/jzywKWZHB9Smms3iART_/ntWm_ro6ZV8my2ZmxTAG/Mv_PlaBpdJ4D59Ye0E37, stripped
@perosb
Copy link

perosb commented Apr 29, 2020

Would also very much like to see offical ARM plugin.

Also discussed here #974

@cyriltovena
Copy link
Contributor

We seems to have struggles to get this into a CI.

@slim-bean can you push some ARM tag in the meantime for everyone waiting please?

@kbadk
Copy link

kbadk commented Jun 1, 2020

Is there any update on this?

@hemna
Copy link

hemna commented Jun 11, 2020

Would really like to have this for my rpi.

@cyriltovena
Copy link
Contributor

cyriltovena commented Jun 17, 2020

Hello everyone !

To unstuck you I've built and pushed 3 images that you can use:

I wasn't able to build armv6 but if someone really needs it, I can dig a bit more.

Hope this helps.

@stale
Copy link

stale bot commented Jul 17, 2020

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Jul 17, 2020
@cyriltovena cyriltovena self-assigned this Jul 18, 2020
@stale stale bot removed the stale A stale issue or PR that will automatically be closed. label Jul 18, 2020
@cyriltovena cyriltovena added stale A stale issue or PR that will automatically be closed. keepalive An issue or PR that will be kept alive and never marked as stale. type/enhancement Something existing could be improved labels Jul 18, 2020
@stale stale bot removed the stale A stale issue or PR that will automatically be closed. label Jul 18, 2020
@lux4rd0
Copy link

lux4rd0 commented Mar 7, 2021

Would love to see this be part of the regular builds to keep my docker deploy scripts the same across architectures. Using the arm64 build works for now though.

@neodon
Copy link

neodon commented Mar 16, 2021

Just ran into this issue as well. Any plans to officially include ARM builds? It was initially requested about 18 months ago I think, and ARM will continue to proliferate.

@guvmao
Copy link

guvmao commented Mar 17, 2022

I posted an linux/arm64/v8 tag you can use in the meantime.

docker plugin install miacis/loki-docker-driver:latest --alias loki --grant-all-permissions

Currently, latest is not the latest tag, but due to my laziness and avoiding some potential issues, I have pushed a newer version with tag 2.9.1. You can use the following command to obtain the newer version.

docker plugin install miacis/loki-docker-driver:2.9.1 --alias loki --grant-all-permissions

@nepeat
Copy link

nepeat commented Nov 28, 2022

+1 on this.

Getting this completed would be a win for people using the deploying code on the Graviton and Ampere platforms and developing code on the Apple Silicon platform. There are cost savings that can be acquired with ARM64 but many of us are blocked or having to apply hacky adhoc builds for the support.

@mattmeye
Copy link

+1

@uob-hillmu
Copy link

Just want to add to what @nepeat said above. My organisation just bought several Apple Silicon macs for devs, and we've seen a number of projects which provide docker images not providing ARM ones. From comments above (#1973 (comment) and #1973 (comment)), it appears technically possible to produce the plugin for ARM, and if I knew how to I would, but for me and everyone else who doesn't know how to do it, it'd be much appreciated if ARM images were made available. Especially since the builds others are posting here are not being kept up to date, and I'd prefer to use images from an official source anyway.

Failing that, some official instructions on how to build for ourselves would be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. type/enhancement Something existing could be improved
Projects
None yet
Development

No branches or pull requests