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

Use multi-platform testimages #64

Closed
gesellix opened this issue Jan 27, 2018 · 2 comments · Fixed by #277
Closed

Use multi-platform testimages #64

gesellix opened this issue Jan 27, 2018 · 2 comments · Fixed by #277

Comments

@gesellix
Copy link
Owner

The docker manifest command is available (with "experimental":"enabled") since Docker 18.02-ce: docker/cli#138

Inspiration for a multi platform matrix build on travis-ci: https://stefanscherer.github.io/cross-build-nodejs-with-docker/

@gesellix
Copy link
Owner Author

gesellix commented Feb 9, 2018

still needs some automation:

docker run --rm mplatform/mquery gesellix/testimage:os-windows
Image: gesellix/testimage:os-windows
 * Manifest List: No
 * Supports: amd64/windows

docker run --rm mplatform/mquery gesellix/testimage:os-linux
Image: gesellix/testimage:os-linux
 * Manifest List: No
 * Supports: amd64/linux

docker manifest create gesellix/testimage gesellix/testimage:os-linux gesellix/testimage:os-windows
docker manifest push gesellix/testimage

docker run --rm mplatform/mquery gesellix/testimage
Image: gesellix/testimage
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - windows/amd64:10.0.14393.447

@gesellix
Copy link
Owner Author

gesellix commented Apr 8, 2022

See https://github.com/docker-client/echo-server for a multi-platform 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.

1 participant