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

Capture whether a script is run inside a docker #12

Open
anandhu-eng opened this issue Dec 12, 2024 · 1 comment
Open

Capture whether a script is run inside a docker #12

anandhu-eng opened this issue Dec 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@anandhu-eng
Copy link
Contributor


Migrated from mlcommons/mlperf-automations_archived#48
Originally created by @anandhu-eng on Sun, 10 Nov 2024 13:16:05 GMT


We can determine whether we are inside a Docker container by checking for the presence of the /.dockerenv file. However, we need to ascertain whether this method is limited to Linux Docker images and if there is a better approach to achieve this.

@anandhu-eng anandhu-eng added the enhancement New feature or request label Dec 12, 2024
@anandhu-eng
Copy link
Contributor Author

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

No branches or pull requests

1 participant