-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Passing platform to createContainer #721
Comments
I needed this functionality, and looking into it, when using Lines 43 to 77 in bb88194
where it constructs an object that is then passed to docker-modem that handles the actual communication to the docker process. The relevant code is then: In that code, if the
Then the full path address that's called for docker ends up being:
which we see contains the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Open a new issue if needed. |
I need to set
platform: 'linux/amd64'
when callingcreateContainer
The latest ContainerCreate API documents
platform
as a lowercase query parameter option alongsidename
I found one example in the readme of
name:
being mixed in with the uppercased API options when callingcreateContainer
but I can't see in the code how that gets pulled out and passed as a query param to the underlying Docker API call like it andplatform
would need toThe text was updated successfully, but these errors were encountered: