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

Source: https://forum.modalai.com/topic/664/docker-system-error-write-sys-fs-cgroup-cpuset-system-slice-cpuset-cpus-invalid
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Posted: 2022-01-17 20:03:33 UTC by wilkinsaf
Replies: 3 · Views: 1654

## wilkinsaf · 2022-01-17 20:03:33 UTC

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

## Reply by wilkinsaf · 2022-01-17 21:15:46 UTC

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

## Reply by wilkinsaf · 2022-01-17 21:17:27 UTC

This appears to have fixed the issue

RESOLVED

## Reply by tom (ModalAI staff) · 2022-01-18 21:20:57 UTC (in reply to wilkinsaf)

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