Docker System error: write /sys/fs/cgroup/cpuset/system.slice/cpuset.cpus: invalid



  • Docker container non-deterministic fail

    I am trying to start a container with the following command:
    docker run --rm -it --net=host cal_compass:latest

    Sometimes it starts right up. Other times it gives me this error: Cannot start container 05621665b072b85b6419f904c0ffb511a1ad07a32c1ca675820aaadbefa4a316: [8] System error: write /sys/fs/cgroup/cpuset/system.slice/cpuset.cpus: invalid argument"

    Any ideas what could be wrong? Thank you for any insights



  • So it turns out that the post-running script for docker service relies on the image "hello-world:latest"

    I had uninstalled that image to save space.

    Redownloading image and trying again



  • This appears to have fixed the issue

    RESOLVED


  • Dev Team

    @wilkinsaf Thank you for posting your solution, very helpful!


Log in to reply