Mount single file in container?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/podman

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Element

    A glossy Matrix collaboration client for the web.

    I'm new to Podman and containers and I'm trying to run an Element container. It comes with a Dockerfile so I built it as I would with Docker, but I'm having trouble trying to supply a custom config file. The repo says to "map a volume to /app/config.json" but I can't figure out how to mount a single file into a container, I can only mount an entire folder. I made a volume for this container just called element-vol and I'd like to store the config there if possible. Does anyone know if I can do this? Mounting the entire folder results in Element not loading.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts