Planemo test with containerized tools

I have build a docker container for a tool and want to use planemo for testing, like:

planemo test --docker --engine external_galaxy bwa-mem.xml

and in the tool XML, I have

    <requirements>
        <container type="docker">bwa:latest</container>
    </requirements>

Unfortunately, the docker container is not executed, instead the test want to execute “bwa” locally. Is that possible with planemo?

Hi,
I think the best approach would be to upload the docker container to quay.io, and then to provide it as follows:

<requirements>
    <container type="docker">quay.io/user_folder/bwa:latest</container>
</requirements>

Then, you should be able to run it with:

planemo test --docker bwa-mem.xml

Regards