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

Image - Check multiplatform build support against docker version #55

Merged
merged 9 commits into from
Apr 5, 2023

Conversation

alonmr
Copy link
Contributor

@alonmr alonmr commented Apr 4, 2023

@alonmr alonmr changed the title Image - check multiplatform build against docker version Image - check multiplatform build support against docker version Apr 4, 2023
@alonmr alonmr changed the title Image - check multiplatform build support against docker version Image - Check multiplatform build support against docker version Apr 4, 2023
manof/image.py Outdated
@@ -861,6 +862,18 @@ def _disconnect_container_from_network(self, container_name, network):
@defer.inlineCallbacks
def _daemon_supports_multiplatform_build(self):

# multiplatform build is not experimental from 20.10.21
out, _, _ = yield self._run_command(
'docker version -f json | jq \'.Client.Version\''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Jain loads and not rely on user having jq

@alonmr alonmr merged commit c2b4bb4 into v3io:development Apr 5, 2023
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 this pull request may close these issues.

None yet

2 participants