Get an error message when trying to install the Mosquitto container.
Earlier I succeeded in installing the HA container on same RB, but on this one I'm stumped.
Config:
Code: Select all
# 2025-04-22 10:03:44 by RouterOS 7.18.2
# software id = *
#
# model = RB5009UPr+S+
# serial number = *
/container mounts
add dst=/mosquitto/config name=msqt_config src=/usb2/mosquitto_mounted
/interface bridge
add name=msqt
/interface veth
add address=172.19.0.2/24 gateway=172.19.0.1 gateway6="" name=veth1
/container
add interface=veth1 logging=yes mounts=msqt_config root-dir=usb2/mosquitto
/container config
set layer-dir=usb2/layers ram-high=800.0MiB registry-url=https://registry-1.docker.io tmpdir=/usb2/pull
/interface bridge port
add bridge=msqt interface=veth1
/ip address
add address=172.19.0.1/24 interface=msqt network=172.19.0.0
/ip dhcp-client
add default-route-tables=main interface=ether1
/ip firewall nat
add action=dst-nat chain=dstnat dst-address=192.168.0.141 dst-port=1883 protocol=tcp to-addresses=172.19.0.2 to-ports=1883
/system clock
set time-zone-name=Europe/Oslo
/system note
set show-at-login=no
Code: Select all
Flags: E - EMPTY, B - BLOCK-DEVICE; M - MOUNTED
Columns: SLOT, MOUNT-POINT, MODEL, SERIAL, INTERFACE
# SLOT MOUNT-POINT MODEL SERIAL INTERFACE
0 E usb1
1 BM usb2 usb2 SanDisk Ultra Fit 4C530001300713118414 USB 2.10 480Mbps
Code: Select all
/container/add remote-image=eclipse-mosquitto:latest interface=veth1 root-dir=usb2/mosquitto mounts=msqt_config logging=yes
Code: Select all
2025-04-22 08:02:39 container,info,debug importing remote image
2025-04-22 08:02:39 system,info item added by winbox-3.41/mac-msg(winbox):admin@C8:60:00:A1:C0:FF/terminal (*2 = /container add interface=veth1 logging=yes mounts=msqt_config remote-image=eclipse-mosquitto:latest root-dir=usb2/mosquitto)
2025-04-22 08:02:41 container,info,debug [cont] error response getting manifests: 401
2025-04-22 08:02:41 container,info,debug was unable to import, container dbb04c38-a590-4737-b341-5cfa9f0aeb1e
I have also tried with my Docker creds but no difference, so what is the problem?
Anyone?
BTW, after formatting the USB stick (the one I have), it turns up as usb2 and there is also a "dummy" usb1. Why?