Renamed docker-classic to “com.docker.com”.

This commit is contained in:
Guillaume Tardif 2020-06-17 17:57:44 +02:00
parent 5103d54330
commit bbcdad39d5
18 changed files with 53 additions and 46 deletions

View file

@ -35,7 +35,7 @@ type endpoint struct {
func dockerDefaultContext() (*DockerContext, error) {
// ensure we run this using default context, in current context has been damaged / removed in store
cmd := exec.Command("docker-classic", "--context", "default", "context", "inspect", "default")
cmd := exec.Command("com.docker.cli", "--context", "default", "context", "inspect", "default")
var stdout bytes.Buffer
cmd.Stdout = &stdout
err := cmd.Run()