moby / moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
https://mobyproject.org/
Apache License 2.0
68.68k stars 18.66k forks source link

docker do not support CI verification on mips64el platform #41007

Open XiaodongLoong opened 4 years ago

XiaodongLoong commented 4 years ago

Description

docker do not support CI verification on mips64el Steps to reproduce the issue:

  1. Submit PR to docker/moby project
  2. Push a commit from my branch forked from https://github.com/docker/moby.git
  3. Trigger a build and verify pipeline, there is no mips64el line. reference: https://ci-next.docker.com/public/blue/organizations/jenkins/moby/detail/PR-40973/10/pipeline

Describe the results you received: Deverlops on mips64el platform are difficult to verify their code, and linux/mips64el port is easy to ignore on some condition .

Describe the results you expected: docker/moby support CI verification on mips64el platform.

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

XiaodongLoong commented 4 years ago

related PR https://github.com/docker/cli/pull/2507

thaJeztah commented 4 years ago

Correct, we don't support / build for mips64el

XiaodongLoong commented 4 years ago

I think we can cooperate on this issue.

My colleagues and I have built docker-ce on version 19.03.4 and 18.06.3 on mips64el successfully, and we have pushed many patches to docker community. We have released the docker software based docker-ce 18.06.3 to our customers, and our customers are very satisfied.

We also have done a lot of software quality testing according to standard test cases from community on version 18.06.3 on mips64el platform.

If the community does not have enough hardware (mips64el), we can donate it. We will also provide the technical support you need.

Thanks!

XiaodongLoong commented 4 years ago

Recently I build docker-ce version 19.03.11 on mips64el successfully and reused the patches of the version 19.03.4, the number of patches have been reduced and there is no new patch. Next step, we will do unit test and integration test on docker-ce (cli app buildx moby containerd runc libnetwork).

Thanks!

XiaodongLoong commented 4 years ago

Dockerfile upgraded for supporting mips64el https://github.com/moby/moby/pull/41145

olljanat commented 4 years ago

@XiaodongLoong @wanghuaiqing2010 Can you share for us who are not familiar with mips64el architecture that on which devices you are planning run/running Docker and that which kind of workload run top of it?

What comes to CI. I can see that AWS supports mips64el VMs using QEMU so probably something similar can be considered on here?

wanghuaiqing2010 commented 4 years ago

@olljanat I come from loongson company in china. Thank you for your reply.

If you use aws vm, it will be a big expense in the long run. We are willing to provide a high-performance mips64el machine for the community. But this machine must only be used for the CI test of the moby project or the release of the docker-ce version. And we hope that this matter should be pushed forward as fast as possible.

This machine can install Debian system or Loongson's own system, it depends on your preference. Before this, we have had a successful cooperation with the community, please refer to the link below.

https://github.com/docker-library/official-images/issues/6709

XiaodongLoong commented 3 years ago

The docker-ce port to mips64le, 20.10.0 on the milestone. https://github.com/docker/cli/pull/2507

wanghuaiqing2010 commented 3 years ago

@thaJeztah Do we have the latest progress?

wanghuaiqing2010 commented 3 years ago

@thaJeztah Could docker support CI verification on mips64el platform? We can provide a high-performance mips64el machine for the community.

soy0806 commented 3 years ago

@XiaodongLoong Can you provide the RPM package (docker-ce18.06.3 mips64el)? I've been looking for it for a long time.