Skip to content

docker_memory fails on Raspberry Pi - fixed by configuration #5

Description

@wvogel

Raspberry Pi (Raspbian)

Using a Raspberry Pi with Raspbian it could happen no memory is reported and thus docker_memory fails with an error in line 308 when trying to access values. In such case the Docker API does not report it. Making the following changes, fixes the problem:

Open the file /boot/cmdline.txt
Add the following to the end of the existing line cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
Reboot your Raspberry Pi
NOTE: Add the line to the existing line, do not replace it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions