Introduction
Problem
When trying to install/migrate TFE FDO, pulling images fails with below message
cat license.txt | docker login --username terraform images.releases.hashicorp.com --password-stdin
sudo docker pull images.releases.hashicorp.com/hashicorp/terraform-enterprise:xxxx-x
Error response from daemon: Head "https://images.releases.hashicorp.com/v2/hashicorp/terraform-enterprise/manifests/latest":
no basic auth credentials
Cause
- This error happens when a wrong or expired license is used.
- In some cases there is confusion between FDO and replicated license.
Solution:
- Confirm that an FDO license is used and not a Replicated license <.rli> to pull the docker images.
Example of FDO license
02MV4UU43BK5HGYYTOJZWFQMTMNNEWU33JJVCGWMCOIRATAWLKKF2E6VDHGFHHSMBUJVKEC6CMKRBG2TL2JF2E6RCZGVHDESTJLFLUU3KOK5MXOSLJO5UVSM2WPJSE.......
- If you are using FDO license as shown in the example above and still getting an error, please reach out to your account team to get a new FDO license as your current might have been expired.
Outcome
Customer should be able to pull docker images for FDO installation.