You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems based on docker's notice here that the recommended way to do this now would be either to connect to the database using a network and exposed port, or perhaps sharing mysqld.sock in a volume. Based on the error message I see when I remove the link flag, it appears that huginn is configured to use the socket directly, and might require some changes to connect to the database over the network? I'm not sure. Because of this I spent some time trying to get it to work with docker volumes to share mysqld.sock between the database container and the huginn container, but I haven't made much progress, so any pointers would be appreciated.
The text was updated successfully, but these errors were encountered:
The documentation for "legacy container links" (--link) include a large warning about --link potentially going away at some point, but there is no timeline given and this "soft deprecation" has been going strong for a very long time. Their usage is definitely discouraged, but we expect Docker will continue to support them for quite some time.
In the single-process and multiiprocess links below, the example
docker
invokations use the "--link" flag, which is being deprecated by docker per [0]https://github.com/huginn/huginn/tree/master/docker/single-process
https://github.com/huginn/huginn/tree/master/docker/multi-process
[0] https://docs.docker.com/network/links/
It seems based on docker's notice here that the recommended way to do this now would be either to connect to the database using a network and exposed port, or perhaps sharing
mysqld.sock
in a volume. Based on the error message I see when I remove the link flag, it appears that huginn is configured to use the socket directly, and might require some changes to connect to the database over the network? I'm not sure. Because of this I spent some time trying to get it to work with docker volumes to sharemysqld.sock
between the database container and the huginn container, but I haven't made much progress, so any pointers would be appreciated.The text was updated successfully, but these errors were encountered: