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

Can I run this repo in a docker container? #2

Open
rexxy-sasori opened this issue Aug 7, 2023 · 1 comment
Open

Can I run this repo in a docker container? #2

rexxy-sasori opened this issue Aug 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@rexxy-sasori
Copy link

I am interested in measuring the power consumption of a docker container.

@HongyuHe
Copy link
Owner

Hi @rexxy-sasori! Yes, you can measure the energy consumption of a docker:

$ sudo energat -basepower
$ sudo energat -pid <PID of your container>

But you can't use it inside a container since the hardware counters aren't propagated into the virtual environment.

@HongyuHe HongyuHe added the question Further information is requested label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants