The error happens because Artemis tries to use AIO (via libaio), which Docker blocks by default in non-Alpine images.
To fix it, set ARTEMIS_JOURNAL_TYPE=NIO in your Docker run or compose file to use NIO instead.
ex:
docker run -e ARTEMIS_JOURNAL_TYPE=NIO apache/activemq-artemis:2.40.0