We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
docker run -m 100MB
docker stats
related to moby/moby#21765
In docker master, docker uses go-unit to traslate 100MB in to bytes: https://github.com/docker/docker/blob/master/runconfig/opts/parse.go#L163
As a result, 100MB input is dealed with use of RAMInBytes, it becomes 100MiB=104857600=104.9MB. I think this will confuse user.
RAMInBytes
And what confuses me is that does RAMInBytes have some special meanings? People's 1MB in RAM means 1024_1024_1024 bytes=1MiB?
does RAMInBytes have some special meanings?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
related to moby/moby#21765
In docker master, docker uses go-unit to traslate 100MB in to bytes: https://github.com/docker/docker/blob/master/runconfig/opts/parse.go#L163
As a result, 100MB input is dealed with use of
RAMInBytes
, it becomes 100MiB=104857600=104.9MB. I think this will confuse user.And what confuses me is that
does RAMInBytes have some special meanings?
People's 1MB in RAM means 1024_1024_1024 bytes=1MiB?
The text was updated successfully, but these errors were encountered: