docker / docker-install

Docker installation script
https://get.docker.com
Apache License 2.0
2.41k stars 777 forks source link

aarch64-fedora-27 support #40

Closed ericcurtin closed 6 years ago

ericcurtin commented 7 years ago

Fedora is about to release SBC images (aarch64) for the following devices:

Pine64 (all variants) Raspberry Pi 3 (64 bit mode) 96boards HiKey 96boards Dragonboard 410c ARM Juno

https://fedoraproject.org/wiki/Changes/aarch64SBCImages https://fedoraproject.org/wiki/Releases/27/ChangeSet#aarch64_SBC_.28Single_Board_Computer.29_Disk_Images https://bugzilla.redhat.com/show_bug.cgi?id=1479254

Before you get inundated with requests for this, the aarch64-fedora-27 platform....

It would be more beneficial to the community than aarch64-ubuntu-xenial as it will run on rpi3s and such very shortly.

Upto now I have been using the version of docker that comes in the repo of:

http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/appliances/openSUSE-Leap42.2-ARM-XFCE-raspberrypi3.aarch64.raw.xz

But it's old and buggy and not packaged by you guys. An aarch64-fedora-27 rpm packaged by you guys would be great.

Btw, I'm happy to help if you need a hand

seemethere commented 7 years ago

ping @friism

friism commented 7 years ago

@ericcurtin thanks for opening this and for caring about running Docker on Fedora on ARM. We're a little busy prepping for DockerCon and a few other things, but we'll take a look at this over the coming months.

ericcurtin commented 7 years ago

@friism no problem...

:grinning:

I care because a couple of rpi3's running Ubuntu 14.04/16.04 dockers are our main test devices for the aarch64 flavour of our software!

Ubuntu 14.04 and 16.04 isn't supported natively on rpi3.

It would be so helpful if there was aarch64-fedora-27 support.

Anyway best of luck with DockerCon!

ericcurtin commented 7 years ago

I see this is unlikely until 17.12.0-ce

https://github.com/docker/for-linux/issues/143

I guess it's hard for you guys to commit to supporting every platform. I'm not really a die hard supporter of any distro, would have been nice to see docker supported on some linux distro that supports rpi3 in aarch64 mode

ericcurtin commented 6 years ago

Fedora released these anyway:

https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi

See heading "Raspberry Pi 3 aarch64 support"

Might get to building an aarch64 .rpm over Christmas sometime. If I build a aarch64 rpm and submitted a PR similar to this one:

https://github.com/docker/docker-ce-packaging/pull/59

Would it be accepted? And would I get a fedora 27 aarch64 rpm in the next release of docker?

seemethere commented 6 years ago

Relates to https://github.com/docker/docker-ce-packaging/pull/71

philipmather commented 6 years ago

Hello, I'd be one of those looking to inundate you for aarch64-fedora-27 please!


[matherp@matherp-rpi3-comp-001 ~]$ sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
Adding repo from: https://download.docker.com/linux/fedora/docker-ce.repo

[matherp@matherp-rpi3-comp-001 ~]$ sudo dnf install docker-ce
Failed to synchronize cache for repo 'docker-ce-stable', disabling.
Last metadata expiration check: 0:11:41 ago on Thu 28 Dec 2017 11:06:26 GMT.
No match for argument: docker-ce

Error: Unable to find a match

[matherp@matherp-rpi3-comp-001 ~]$ uname -a
Linux matherp-rpi3-comp-001.uk.network.local 4.14.8-300.fc27.aarch64 #1 SMP Wed Dec 20 18:51:14 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
seemethere commented 6 years ago

Added as of #58