I've configured Docker on my Ubuntu 18.04 Server to expose its API so I can create and deploy Docker containers via REST requests, which I need to add certain features to my project. This worked fine for first few endpoints I tried. However, when I attempt to create a new Docker container (the main point of the exercise), I get the message:
{"message": "Your kernel does not support cgroup cpu real-time period"}
Is this true? Alternatively is it instead that I need to set something up to enable this functionality, or is Docker reporting incorrectly?
curl -X POST -H "Content-Type: application/json" -d "@./test-data/docker-create-api-test.json" http://localhost:1112/containers/create
{"message":"Your kernel does not support cgroup cpu real-time period"}
Very grateful for any assistance given as this functionality is critical to my project.