Link Docker Hub
JFrog Connect enables you to link any Docker Hub account to deploy updates directly from your container registry to the edge devices.
When you use the Deploy Containers action block in a software update, you can configure the block to pull container images directly from your image registry in Docker Hub. All you need to do is link your Docker Hub account to your JFrog Connect account. The procedures on this page describe how to connect the account.
Prerequisites
A JFrog Connect account.
One or more Docker Hub accounts with a container image.
Get Access Token
Before you can configure the link with Docker Hub, you need to get an access token.
Log in to your Docker Hub account.
Click your username in the top right corner.
Click Account Settings, and go to the Security section.
Under Access Tokens, click New Access Token.
Enter a description of your access token, e.g., JFrog Connect, and click Create.
Copy the access token to your clipboard.
Example of token: a0be8e-8eb-4d0-8297-4fa887e22
.
Go to Action Block Configuration
Go to Deployment in the left menu and click Create Update Flow.
Drag the Deploy Containers action block and drop it in the workflow.
Click the Deploy Containers action block in the flow, and for Registry Account, click Other Registry.
Add Account
In the action block configuration, click Add Account, and complete the requested information:
Registry Provider: Choose DockerHub from the list.
Account Display Name: Enter any name you want to display that will identify this account. The display name will appear in the list of Registry Accounts whenever you choose Other Account in the action block configuration.
Docker Hub Username: Enter the username that you use to log in to Docker Hub.
Docker Hub Access Token: Paste in the access token that you created previously
Save the account information. After saving, you can either continue with your action block configuration or simply cancel the action block without saving. (You can also link an additional Docker Hub account.)
The next time you enter a Deploy Containers action block configuration, this Docker Hub account and any additional accounts you added will be visible in the dropdown list of Other Registry accounts.
Docker Hub Organization Account
To enable Connect support of a Docker Hub Organization Account, reach out to JFrog Connect support.
What’s Next?
Learn how to use the Deploy Containers action block in a workflow to update containers in your edge devices.
Last updated