This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/lowriskcork on 2023-06-27 20:47:46+00:00.
I can't manage to export my HA to docker (on a MacMini M2 Pro),
in my current VM the hardware path for zigbee is :
ttyUSB0/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_544ffb632c1aec1190757fe5f01c6278-if00-port0
and for zwave :
ttyUSB1/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_40d577bf9174ec11ad0fa35019c2d21c-if00-port0
I was planed to pull this but this keep failing :
version: '3'
services:
homeassistant:
image: homeassistant/home-assistant:stable
container_name: homeassistant
restart: unless-stopped
volumes:
- /Volumes/Drive/Docker/Home\ Assistant:/config
networks:
- homeassistant-network
cloudflared:
image: brenner-tobias/addon-cloudflared:arm64
container_name: cloudflared
restart: unless-stopped
networks:
- homeassistant-network
file_editor:
image: homeassistant/addons-configurator:arm64
container_name: file_editor
restart: unless-stopped
networks:
- homeassistant-network
grafana:
image: homeassistant/addons-grafana:arm64
container_name: grafana
restart: unless-stopped
ports:
- 3000:3000
networks:
- homeassistant-network
influxdb:
image: homeassistant/addons-influxdb:arm64
container_name: influxdb
restart: unless-stopped
volumes:
- /Volumes/Drive/Docker/Home\ Assistant/influxdb:/var/lib/influxdb
networks:
- homeassistant-network
mosquitto:
image: homeassistant/addons-mosquitto:arm64
container_name: mosquitto
restart: unless-stopped
ports:
- 1883:1883
networks:
- homeassistant-network
node_red:
image: homeassistant/addons-node-red:arm64
container_name: node_red
restart: unless-stopped
ports:
- 1880:1880
networks:
- homeassistant-network
samba:
image: homeassistant/addons-samba:arm64
container_name: samba
restart: unless-stopped
ports:
- 445:445
- 139:139
networks:
- homeassistant-network
zwave_js:
image: homeassistant/addons-zwave_js:arm64
container_name: zwave_js
restart: unless-stopped
devices:
- /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_40d577bf9174ec11ad0fa35019c2d21c-if00-port0
networks:
- homeassistant-network
zigbee2mqtt:
image: zigbee2mqtt/zigbee2mqtt:arm64
container_name: zigbee2mqtt
restart: unless-stopped
devices:
- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_544ffb632c1aec1190757fe5f01c6278-if00-port0
volumes:
- /Volumes/Drive/Docker/Home\ Assistant/zigbee2mqtt/data:/app/data
networks:
- homeassistant-network
networks:
homeassistant-network:
name: Home Assistant Network
when I disconnect my VM and check the USB device on my MacMini with terminal I won't show it like this:
server@Kevins-Mac-mini-2 ~ % ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port /dev/tty.usbmodemABC1234567892 /dev/tty.usbserial-8410 /dev/tty.usbserial-8420
PS I'm not sure of the image but I assume I need the arm64 tag
when I try to run my docker compose I'm getting
failed to deploy a stack: mosquitto Pulling cloudflared Pulling grafana Pulling zigbee2mqtt Pulling zwave_js Pulling samba Pulling file_editor Pulling influxdb Pulling node_red Pulling mosquitto Error cloudflared Error node_red Error influxdb Error file_editor Error samba Error zwave_js Error zigbee2mqtt Error grafana Error Error response from daemon: pull access denied for homeassistant/addons-mosquitto, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
if I just try to pull :
a7ce17b020a4f2367e756125b02caac7e8c1810dfb228a2e2d3ad9d98e38cff7
server@Kevins-Mac-mini-2 ~ % docker pull homeassistant/home-assistant:stable
docker pull zigbee2mqtt/zigbee2mqtt:latest
stable: Pulling from homeassistant/home-assistant
Digest: sha256:1dd89ec1ce8de5ea869a489d5699bd91f77058ffaa6f5484b3e81323128abd2c
Status: Image is up to date for homeassistant/home-assistant:stable
docker.io/homeassistant/home-assistant:stable
Error response from daemon: pull access denied for zigbee2mqtt/zigbee2mqtt, repository does not exist or may require 'docker login': denied: requested access to the resource is denied