I actually managed to make it work with the following command run from the container:
`$(PHP_RUN) bin/console messenger:consume ui_job import_export_job data_maintenance_job ${O}`