December 3, 20196 yr I am trying to create a container that uses systemd and requires the use of tmpfs mappings. E.g. Docker Run Example: docker run -d \ --name=dwspectrum-test-container \ --restart=unless-stopped \ --network=host \ --tmpfs /run \ --tmpfs /run/lock \ --tmpfs /tmp \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ -v "/.mount/media:/config/DW Spectrum Media" \ -v /.mount/config:/opt/digitalwatchdog/mediaserver/var \ ptr727/dwspectrum Docker Compose Example: services: dwspectrum: image: ptr727/dwspectrum container_name: dwspectrum-test-container hostname: dwspectrum-test-host domainname: foo.net build: . volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro - ./.mount/media:/config/DW Spectrum Media - ./.mount/config/:/opt/digitalwatchdog/mediaserver/var tmpfs: - /run - /run/lock - /tmp restart: unless-stopped network_mode: host ports: - 7001:7001 How do I add tmpfs mappings in Unraid's docker configuration, or do I need to specify them as additional options on the commandline?
December 3, 20196 yr Author Ok, it is ugly, but I'll give it a try. I really wish we could just use compose files.
December 4, 20196 yr 16 hours ago, ptr727 said: Ok, it is ugly, but I'll give it a try. I really wish we could just use compose files. I believe docker-compose is available in nerdpack plugin?
December 4, 20196 yr Community Expert Might be worth logging a feature request to have tmpfs mounts supported in Dockerman. So far as i know no one has asked for it yet (though i didnt actually check).
Archived
This topic is now archived and is closed to further replies.