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

feat: Set docker platform from DOCKER_DEFAULT_PLATFORM env variable #129

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

matthewfeickert
Copy link
Member

Resolves #128

* If the environment variable DOCKER_DEFAULT_PLATFORM exists use it
  to set the --platform option for 'docker run'. This is required
  to be able to run on other platform than the native host's with
  emulation.
   - c.f. https://docs.docker.com/engine/reference/commandline/cli/#environment-variables
@matthewfeickert matthewfeickert added the enhancement New feature or request label Feb 24, 2024
@matthewfeickert matthewfeickert self-assigned this Feb 24, 2024
@matthewfeickert matthewfeickert merged commit cd93016 into main Feb 24, 2024
8 checks passed
@matthewfeickert matthewfeickert deleted the feat/add-platform-setting branch February 24, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to set platform from packtivity environmental variable
1 participant