Skip to content

Commit

Permalink
Merge pull request #4535 from bernt-matthias/fix-admin-containers
Browse files Browse the repository at this point in the history
Fix container resolvers in admin tutorial
  • Loading branch information
hexylena authored Nov 20, 2023
2 parents a492e52 + cc35031 commit c9ea316
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions topics/admin/tutorials/apptainer/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ requirements:
---

In this tutorial you will learn how to configure Galaxy to run jobs using [Apptainer](https://apptainer.org) containers provided by the [BioContainers](https://biocontainers.pro/) community.
Make sure to read the documentation on [container in Galaxy](https://docs.galaxyproject.org/en/master/admin/special_topics/mulled_containers.html) and in particular [container resolvers in Galaxy](https://docs.galaxyproject.org/en/master/admin/container_resolvers.html).


## Background

Expand Down Expand Up @@ -235,17 +237,17 @@ Now, we will configure Galaxy to run tools using Apptainer containers, which wil
> --- /dev/null
> +++ b/templates/galaxy/config/container_resolvers_conf.yml.j2
> @@ -0,0 +1,11 @@
> +container_resolvers:
> + - type: cached_explicit_singularity
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/explicit/"
> + - type: cached_mulled_singularity
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/mulled/"
> + - type: mulled_singularity
> + auto_install: False
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/mulled/"
> + - type: build_mulled_singularity
> + auto_install: False
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/built/"
> +
> +- type: cached_explicit_singularity
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/explicit/"
> +- type: cached_mulled_singularity
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/mulled/"
> +- type: mulled_singularity
> + auto_install: False
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/mulled/"
> +- type: build_mulled_singularity
> + auto_install: False
> + cache_directory: "{{ galaxy_mutable_data_dir }}/cache/singularity/built/"
> {% endraw %}
> ```
> {: data-commit="Configure the container resolver"}
Expand Down

0 comments on commit c9ea316

Please sign in to comment.