{"id":51122,"library":"cpuguy83-dockercfg","title":"Docker Config","description":"A Go library for reading Docker configuration files, including credentials and authentication.","status":"active","version":"0.3.2","language":"go","source_language":null,"source_url":"https://github.com/cpuguy83/dockercfg","tags":["docker","config","credentials","auth"],"install":[{"cmd":"go get github.com/cpuguy83/dockercfg","lang":"bash","label":"Install github.com/cpuguy83/dockercfg"}],"dependencies":[],"imports":[{"symbol":"dockercfg","correct":"github.com/cpuguy83/dockercfg"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/cpuguy83/dockercfg\"\n)\n\nfunc main() {\n\tcfg, err := dockercfg.LoadDefaultConfig()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Loaded config with %d auth entries\\n\", len(cfg.AuthConfigs))\n}","lang":"go","description":"Loads the default Docker configuration and prints the number of auth entries."},"warnings":[],"env_vars":null,"search_vec":"'auth':18 'authent':14 'config':2,16 'configur':9 'credenti':12,17 'docker':1,8,15 'file':10 'go':4 'includ':11 'librari':5 'read':7","created_at":"2026-06-15T06:00:53.491673+00:00","updated_at":"2026-06-15T06:00:53.491673+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cpuguy83/dockercfg","github":"https://github.com/cpuguy83/dockercfg","docs":"https://pkg.go.dev/github.com/cpuguy83/dockercfg#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config","auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}