@@ -15,15 +15,15 @@ proc ModulesHelp { } {
1515 puts stderr " - {{ image }}"
1616 puts stderr " Commands include:"
1717 puts stderr " - {|module_name|}-run:"
18- puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm {% if envfile %}--env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %} -v . -w . <container>"
18+ puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm {% if envfile %}--env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %} -v . -w . <container>"
1919 puts stderr " - {|module_name|}-shell:"
20- puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm --entrypoint {{ shell }} {% if envfile %} --env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %} -v . -w . <container>"
20+ puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm --entrypoint {{ shell }} {% if envfile %} --env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %} -v . -w . <container>"
2121 puts stderr " - {|module_name|}-exec:"
22- puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm --entrypoint \"\" {% if envfile %} --env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %} -v . -w . <container> $*"
22+ puts stderr " {{ command }} run -i{% if tty %}t{% endif %} -u `id -u`:`id -g` --rm --entrypoint \"\" {% if envfile %} --env-file {{ module_dir }}/{{ envfile }} {% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %} -v . -w . <container> $*"
2323 puts stderr " - {|module_name|}-inspect:"
2424 puts stderr " {{ command }} inspect <container>"
2525{% if aliases %}{% for alias in aliases %} puts stderr " - {{ alias.name }}:"
26- puts stderr " {{ command }} run -i{% if tty %}t{% endif %} --rm -u `id -u`:`id -g` --entrypoint {{ alias.entrypoint | replace(" $" , " \$ " ) }} {% if envfile %}--envfile {{ module_dir }}/{{ envfile }} {% endif %}{% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if alias.docker_options %}{{ alias.docker_options | replace(" $" , " \$ " ) }} {% endif %} -v . -w . <container> {{ alias.args | replace(" $" , " \$ " ) }}"
26+ puts stderr " {{ command }} run -i{% if tty %}t{% endif %} --rm -u `id -u`:`id -g` --entrypoint {{ alias.entrypoint | replace(" $" , " \$ " ) }} {% if envfile %}--envfile {{ module_dir }}/{{ envfile }} {% endif %}{% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %}{% if alias.docker_options %}{{ alias.docker_options | replace(" $" , " \$ " ) }} {% endif %} -v . -w . <container> {{ alias.args | replace(" $" , " \$ " ) }}"
2727{% endfor %}{% endif %}
2828
2929 puts stderr " For each of the above, you can export:"
@@ -56,11 +56,11 @@ conflict {{ name }}
5656{% endfor %}{% endif %}
5757
5858# interactive shell to any container, plus exec for aliases
59- set shellCmd " {{ command }} \$ {PODMAN_OPTS} run \$ {PODMAN_COMMAND_OPTS} -u `id -u`:`id -g` --rm -i{% if tty %}t{% endif %} --entrypoint {{ shell }} {% if envfile %}--env-file {{ module_dir }}/{{ envfile }}{% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %} -v $workdir -w $workdir ${containerPath} "
59+ set shellCmd " {{ command }} \$ {PODMAN_OPTS} run \$ {PODMAN_COMMAND_OPTS} -u `id -u`:`id -g` --rm -i{% if tty %}t{% endif %} --entrypoint {{ shell }} {% if envfile %}--env-file {{ module_dir }}/{{ envfile }}{% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %} -v $workdir -w $workdir ${containerPath} "
6060
6161# execCmd needs entrypoint to be the executor
6262set execCmd " {{ command }} \$ {PODMAN_OPTS} run -i{% if tty %}t{% endif %} \$ {PODMAN_COMMAND_OPTS} -u `id -u`:`id -g` --rm {% if envfile %} --env-file {{ module_dir }}/{{ envfile }}{% endif %} {% if bindpaths %}-v {{ bindpaths }}{% endif %} -v $workdir -w $workdir "
63- set runCmd " {{ command }} \$ {PODMAN_OPTS} run -i{% if tty %}t{% endif %} \$ {PODMAN_COMMAND_OPTS} -u `id -u`:`id -g` --rm {% if envfile %}--env-file {{ module_dir }}/{{ envfile }}{% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %} -v $workdir -w $workdir ${containerPath} "
63+ set runCmd " {{ command }} \$ {PODMAN_OPTS} run -i{% if tty %}t{% endif %} \$ {PODMAN_COMMAND_OPTS} -u `id -u`:`id -g` --rm {% if envfile %}--env-file {{ module_dir }}/{{ envfile }}{% endif %} {% if bindpaths %}-v {{ bindpaths }} {% endif %}{% if features.home %}-v {{ features.home }} {% endif %} -v $workdir -w $workdir ${containerPath} "
6464set inspectCmd " {{ command }} \$ {PODMAN_OPTS} inspect ${containerPath} "
6565
6666# set_shell_function takes bashStr and cshStr
0 commit comments