{"id":16542112,"url":"https://github.com/itzg/carina-cli","last_synced_at":"2026-04-22T03:31:22.995Z","repository":{"id":145317225,"uuid":"52683373","full_name":"itzg/carina-cli","owner":"itzg","description":"This is a Dockerization of the Carina CLI, which is used to manage your Rackspace Carina clusters from the command-line.","archived":false,"fork":false,"pushed_at":"2016-06-20T14:10:17.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-19T13:16:15.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itzg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-27T18:57:49.000Z","updated_at":"2016-08-29T13:47:14.000Z","dependencies_parsed_at":"2023-04-25T17:46:48.913Z","dependency_job_id":null,"html_url":"https://github.com/itzg/carina-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itzg/carina-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fcarina-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fcarina-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fcarina-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fcarina-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/carina-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fcarina-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32119700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T18:56:40.495Z","updated_at":"2026-04-22T03:31:22.975Z","avatar_url":"https://github.com/itzg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carina CLI Docker Image\n\nThis is a *Dockerization* of the [Carina CLI](https://github.com/getcarina/carina), which is used to\nmanage your [Rackspace Carina clusters](https://getcarina.com/) from the command-line.\n\n## Access Credentials\n\nThe are several ways to pass your Carina credentials to your container:\n\n* You can pass the `CARINA_USERNAME` and `CARINA_APIKEY` environment variables with the `-e` arguments of `docker run`\n* You can pass `--username` and `--api-key` after the image argument\n\n...but, the more secure and convenient way is to attach a `/secrets` file into the container.\n\nCreate a file in your host filesystem that contains `export VAR=VALUE` lines, such as this `secrets` file\nin the current directory:\n\n```\nexport CARINA_USERNAME=me@there\nexport CARINA_APIKEY=...api key goes here...\n```\n\nRun the CLI container and attach that file to `/secrets` in the container:\n\n```\ndocker run --rm -v $(pwd)/secrets:/secrets itzg/carina-cli ls\n```\n\n## Obtaining Credentials Output\n\nAs a convenience, this image exposes a `/carina` volume and sets `$CARINA_HOME` to that path.\nYou can either attach that volume to a host directory or use `--volumes-from` in a downstream container, such as\n\n```\ndocker run --name carina-credentials -v $(pwd)/secrets:/secrets itzg/carina-cli credentials my-cluster\n\ndocker run --volumes-from carina-credentials ...\n```\n\nNotice that I did *not* include the `--rm` flag on the upstream container, so that the container remains present\nfor downstream attachment.\n\nFrom the downstream container, your cluster credentials (the Docker client certificates) are available at the\npath\n\n    /carina/clusters/\u003ccarina username\u003e/\u003ccluster name\u003e\n\n## General Usage of the CLI\n\nFor general use of the CLI, please refer to the [Carina client documentation](https://github.com/getcarina/carina/blob/master/README.md)\n\n## Saving carina-cli output in a host directory\n\nThe following technique is more tedious than running the `carina-cli` directly, but\ndoes let you run via an image rather than downloading the binary. **NOTE**: the\nexample shown here assumes the `CARINA_*` environment variables have been previously\nset.\n\n```\ndocker run -v $HOME/.carina:/carina -u $(id -u) \\\n  -e CARINA_USERNAME -e CARINA_APIKEY \\\n  itzg/carina-cli \\\n  credentials YOUR_CLUSTER\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fcarina-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Fcarina-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fcarina-cli/lists"}