Skip to content

Migrate docker module to moby - #909

Open
AndrewFerr wants to merge 3 commits into
matrix-org:mainfrom
AndrewFerr:docker-to-moby
Open

Migrate docker module to moby#909
AndrewFerr wants to merge 3 commits into
matrix-org:mainfrom
AndrewFerr:docker-to-moby

Conversation

@AndrewFerr

Copy link
Copy Markdown
Member

Migrate from the deprecated github.com/docker/docker module to the current latest version of github.com/moby/moby, and make all changes necessary to adapt to its refactoring.

Signed-off-by: Andrew Ferrazzutti [email protected]

Pull Request Checklist

Migrate from the deprecated github.com/docker/docker module to the
current latest version of github.com/moby/moby, and make all changes
necessary to adapt to its refactoring.
@AndrewFerr
AndrewFerr requested review from a team and kegsay as code owners August 3, 2026 02:42

@reivilibre reivilibre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

return "", fmt.Errorf("%s: failed to create docker network. %w", blueprintName, err)
}
if nw.Warning != "" {
if len(nw.Warning) > 0 && nw.Warning[0] != "" {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering why we have to check [0] != "" as well. Is it actually necessary?
I don't mind and I don't know, just seems bizarre to me

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it's necessary either, but figured it was cheap to guard against it just in case.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants