Remove the call to com.docker.cli to get the default context
This is no longer needed since the `docker compose` command was moved to a cli plugin
for moby contexts
@@ -123,9 +123,6 @@ func New(rootDir string) (Store, error) {
// Get returns the context with the given name
func (s *store) Get(name string) (*DockerContext, error) {
- if name == "default" {
- return dockerDefaultContext()
- }
meta := filepath.Join(s.root, contextsDir, metadataDir, contextDirOf(name), metaFile)
m, err := read(meta)
if os.IsNotExist(err) {
