hashicorp/hcp pulls statistics
By hashicorp (105 listings) · Docker Hub
hashicorp/hcp has 53,971 recorded pulls on Docker Hub, an increase of 17.9% over the past 30 days, ranking #526 of 1,291 tracked listings.
About hashicorp/hcp
HCP CLI
The hcp CLI lets you administer HashiCorp Cloud Platform (HCP)
resources and services. You can interact with hcp directly or integrate it in
scripts to automate your workflows. The HCP CLI is available across most
platforms and lets you efficiently execute common platform tasks and manage HCP
resources at scale.
- Documentation: https://developer.hashicorp.com/hcp/docs/cli
- GitHub: github.com/hashicorp/hcp
How to use this image
Interactively
The image can be used to run the hcp CLI interactively:
$ docker run -it hashicorp/hcp
# hcp auth login --client-id=<client-id> --client-secret=<client-secret>
# hcp ...
Non-interactively
To run non-interactively, the hcp CLI must be passed credentials as part of
its invocation. As such a service principal must be used. There are two ways to
pass the service principal credentials:
-
Using environment variables
The simplest way to pass the service principal credentials is to set them as environment variables:
$ docker run -e HCP_CLIENT_ID=<client-id> -e HCP_CLIENT_SECRET=<client-secret> hashicorp/hcp hcp <command> -
Using a credential file.
The more secure option is to create a credential file containing the service principal credentials and mount it into the container. For details on creating a credential file, refer to the documentation or if using a Workload Identity Provider, see the create-cred-file command.
As an example, the following command creates a service principal and a credential file:
$ hcp iam service-principals create example-sp $ hcp iam service-principals keys create example-sp --output-cred-file=cred_file.jsonOnce created, the credential file can be mounted into the container as follows:
$ docker run -v /path/to/cred_file_dir/:/root/hcp/ \ -e HCP_CRED_FILE=/root/hcp/cred_file.json hashicorp/hcp hcp <command>The
-vflag mounts the credential file into the container at/root/hcp/cred_file.json.The
-eflag sets theHCP_CRED_FILEenvironment variable to the path of the mounted credential file and instructs thehcpCLI to authenticate via the credential file.
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub plugins
All 20 hashicorp/hcp alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/r/hashicorp/hcp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.