crun works great with docker when trying to bring the containers up. However, when we try to run something like this command on a running container:
docker update --restart always
It runs into this issue:
Error response from daemon: Cannot update container 4d8e0414eed469e0afdd995f70864144f02a5f1d79fa60ebac2c4eae9d78fdee: /mnt/config/docker/runtimes/crun did not terminate successfully: exit status 1: Setting memory.limit_in_bytes to 0
writing file `memory.limit_in_bytes`: Device or resource busy
When looking at gdb, I see that crun tries to set limit_in_bytes to 0:
crun works great with docker when trying to bring the containers up. However, when we try to run something like this command on a running container: docker update --restart always
It runs into this issue:
When looking at gdb, I see that crun tries to set limit_in_bytes to 0:
Note that I added the sleep and the "libcrun_warning("Setting memory.limit_in_bytes to %s",limit_buf);" line for debugging purposes.
Is this a known issue with crun and docker? This is running with cgroup1 and crun version 1.8.7 and kernel version 5.10.