You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reasoning as to why this value is set to an apparently invalid number vs leaving it as undef? Especially given its already optional
As far as I can tell - Docker is simply ignoring this specified constraint (I have plenty of containers that happily eat several MB of memory) - however that could change and many containers deployed using this module could unexpectedly break.
The text was updated successfully, but these errors were encountered:
I'm using podman-docker (#562) and this default value prevents containers from starting. Podman is unable to start the container and reports: Error: OCI runtime error: unable to start container fcd02362087d56b8829dbf4050c8106985733d06c690720ccbfbe3754323eb9e: sync socket closed.
The kernel (obviously) complains about Memory cgroup out of memory
This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.
Docker's documentation for the
-m
command stateshttps://docs.docker.com/config/containers/resource_constraints/
However
docker::run
defaults this (optional) argument to a defined value of0b
puppetlabs-docker/manifests/run.pp
Line 197 in b8b0b85
Is there a reasoning as to why this value is set to an apparently invalid number vs leaving it as
undef
? Especially given its already optionalAs far as I can tell - Docker is simply ignoring this specified constraint (I have plenty of containers that happily eat several MB of memory) - however that could change and many containers deployed using this module could unexpectedly break.
The text was updated successfully, but these errors were encountered: