Followed the instructions several times and the container fails with the following error.
Create container homeassistant failed: {“message”:“invalid volume specification: ‘/volume1/docker::rw’: invalid mount config for type "bind": field Target must not be empty”}.
poudenes
(Poudenes)
September 9, 2024, 6:39am
2
This is my docker compose for my NAS:
version: “3.9”
services:
homeassistant:
image: homeassistant/home-assistant
container_name: homeassistant
hostname: homeassistant
restart: always
mem_limit: 1g
cpu_shares: 1024
ports:
- 8123:8123
volumes:
- /etc/localtime:/etc/localtime:ro
- /volumeUSB2/usbshare/docker/home_assistant:/config
environment:
TZ: Europe/Amsterdam
PUID: 1026
PGID: 100
healthcheck:
disable: true
security_opt:
- no-new-privileges:true
network_mode: host
jetta-diesel:
‘/volume1/docker::rw’:
This looks like it’s missing path to where it should map it.
You have external path, empty path and than Read/Write.
Post here full command you’re using.
Thanks to all. Got it working. Not entirely certain what was wrong but but believe it was a minor typo.
1 Like
I’m not using docker. Thanks to all but I’m giving up for now.