Skip to content

Minimal comments on Podman/Docker support #391

@marcodelapierre

Description

@marcodelapierre

Hi!
I have just run some quick tests with Podman on Ubuntu 18, and they have worked well!

I just have a couple of minimal comments on the modulefile layout (had a look at LUA modules);
I have used my usual biocontainers/samtools:v1.9-4-deb_cv1 as a test.

  • Some typos in help screen -- apply also for Docker

    • -v ${PWD} -w ${PWD} is defined also for <tool>-shell and <tool>-exec but not documented

    • --entrypoint /bin/sh is defined for <tool>-shell but not documented

    • for <tool>-exec, help says --entrypoint /bin/sh, but instead it should be --entrypoint ""

    • for aliases, e.g. :

       - samtools:
             podman run --rm -it --entrypoint /usr/bin/samtools --env-file /home/ubuntu/shpc-v0027/modules/biocontainers/samtools/v1.9-4-deb_cv1/99-shpc.sh  -v ${PWD} -w ${PWD} <container> ""
      

      Instead of <container> "", the very last bit of this snippet should be <container> "$@".

Only for Podman:

  • I notice that the variables here are called DOCKER_OPTS and DOCKER_COMMAND_OPTS; shouldn't they contain PODMAN instead?

PS: the final implementation you used for entrypoint is the cleanest possible, love it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions