REST API does honor NanoCpus in HostConfig #9523
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Add NanoCpus for container creation using the REST APIs, but the value of 'NanoCpus' is still zero in
podman inspect <container_name>
after the container is up and running.However, the
podman run --cpus
CLI works fine.Steps to reproduce the issue:
Describe the results you received:
"NanoCpus": 0,
Describe the results you expected:
"NanoCpus": 1500000000,
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: