Skip to content

DNS Resolution Warning with Singularity Container #207

Description

@ua-micro-cha

When running the seqtk Singularity container from the URL https://depot.galaxyproject.org/singularity/seqtk:1.2--1 using Apptainer, I encounter a warning message about skipping the mount of /etc/resolv.conf because it doesn't exist in the container. Here's the exact warning message:

WARNING: Skipping mount /var/apptainer/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container

This file is typically used for DNS resolution. While this is currently just a warning and the container runs, I'm concerned it might cause issues in the future if the seqtk tool needs to resolve DNS names.

Could you please advise on whether this is something to be concerned about, and if so, suggest a possible solution? Is there a way to include /etc/resolv.conf in the container, or is there another recommended way to handle DNS resolution?

Thank you for your assistance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions