node-red/node-red.github.io

Linking containers in Docker uses a deprecated feature

binnes opened this issue · 3 comments

The Docker section about linking containers needs to be updated to use the --network options rather than --link, as the --link option is now deprecated

The 'source' of that page (not directly... but the info should be consistent) is the readme for the node-red-docker repository - so any updates to one should be reflected in the other - https://github.com/node-red/node-red-docker

Not sure if you prefer to reopen the issue or if I do a new one?

The example to link mosquitto by a bridge network dosn't work with mosquitto:latest (2.0.7) but with the last 1.6.13 seams that the config file of Mosquitto 2 is different and not listeneing to the network by default.

Best Christian

1614083867: mosquitto version 2.0.7 starting
1614083867: Config loaded from /mosquitto/config/mosquitto.conf.
1614083867: Starting in local only mode. Connections will only be possible from clients running on this machine.
1614083867: Create a configuration file which defines a listener to allow remote access.
1614083867: Opening ipv4 listen socket on port 1883.
1614083867: Opening ipv6 listen socket on port 1883.
1614083867: Error: Address not available
1614083867: mosquitto version 2.0.7 running

New issue please - and ideally a fix as well :-)