Skip to content

Some components are using deprecated docker/engine-api #12212

@jawnsy

Description

@jawnsy

A few files import packages from github.com/docker/engine-api, which has been deprecated and superceded by github.com/docker/client. Given the low number of files impacted (mainly in bootstrapping and docker build code), we should consider switching.

Version

origin master

Current Result

From a cursory search, excluding origin, the following files contain references to the deprecated engine-api package:

  • pkg/bootstrap/docker/dockerhelper/helper.go
  • pkg/bootstrap/docker/dockermachine/helper.go
  • pkg/bootstrap/docker/up.go
  • pkg/cmd/cli/cmd/dockerbuild/dockerbuild.go
  • pkg/cmd/server/kubernetes/node.go
Expected Result

These should instead refer to the replacement packages: github.com/docker/client - see https://github.com/docker/docker/tree/master/client

Since the old package is deprecated, it may soon be stop receiving updates, so it's a good idea to evaluate switching over before that time comes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions