Hey everyone! I'm having a tough time setting up a Transmission container with Docker Compose, specifically with mounting the download volume. Here's a snippet of my Compose file:
```yaml
services:
transmission:
image: lscr.io/linuxserver/transmission:latest
container_name: transmission
depends_on:
- surfshark
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
volumes:
- /opt/surfshark-transmission/transmission:/config
- /opt/surfshark-transmission/test:/downloads
network_mode: service:surfshark
restart: unless-stopped
```
I'm getting an error message related to 'ContainerConfig' when I try to spin it up. Interestingly, it works fine when I comment out the line with the downloads volume. I've tried a few different local paths and validated my YAML, but I'm still stuck. Any ideas or suggestions would really help!
2 Answers
What version of Docker Compose are you using? You can check with the command `docker compose version`. Sometimes compatibility issues can cause these types of errors.
It seems like your volume specified for the downloads might be causing a conflict. You’re trying to mount it at the root level of the container, which might be messing with the container's image layers. Consider changing the source and destination for that volume or switching it to a bind mount instead.

Yeah, the `:/` in the path indicates you might be overriding too much. Adjusting your volume should help!