Skip to content

Update example docker commands due to deprecated "--link" flag #697

Description

@MatanSilver

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 share mysqld.sock between the database container and the huginn container, but I haven't made much progress, so any pointers would be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions