We are testing an Ansible role that deploys Docker and starts containers.
This works on top of the following images (docker engine gets installed and containers started):
docker-rockylinux8-ansible
docker-centos8-ansible
The containers fail in all the other images that we've tried ( docker engine gets installed and docker service starts but the containers fail to start):
docker-ubuntu2204-ansible
docker-ubuntu2004-ansible
docker-debian11-ansible
Containers fail to start with the following error message (the same on all the images):
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error reopening /dev/null inside container: open /dev/null: operation not permitted: unknown
We use the recommended platform config (which works on Rocky and Centos8):
We are testing an Ansible role that deploys Docker and starts containers.
This works on top of the following images (docker engine gets installed and containers started):
The containers fail in all the other images that we've tried ( docker engine gets installed and docker service starts but the containers fail to start):
Containers fail to start with the following error message (the same on all the images):
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error reopening /dev/null inside container: open /dev/null: operation not permitted: unknown
We use the recommended platform config (which works on Rocky and Centos8):
I'd appreciate any suggestions on how to address this if possible.