Deploy Docker
The Deploy Docker action provides an easy way to deploy a single Docker image or multiple containers using Docker Compose to your IoT devices.
Last updated
Was this helpful?
The Deploy Docker action provides an easy way to deploy a single Docker image or multiple containers using Docker Compose to your IoT devices.
Last updated
Was this helpful?
JFrog Connect agent utilizes Docker and the Docker Compose engine to pull and run the image containers to the edge. Therefore, Docker standard practices are applied when pulling images (e.g., Docker cache and image layers).
JFrog Connect account and at least one device registered.
Docker and/or Docker-compose installed
One or more Docker images in the JFrog Platform ready for deployment. If you need to push an image to the JFrog Platform, use the docker tag
and docker push
commands as shown below.
To include the Deploy Docker action in your update flow, do the following:
Go to Deployment in the left menu and click Create Update Flow.
Drag the Deploy Docker action and drop it in the workflow.
Click the action to open and configure it.
Enter a name for the action.
Choose the registry where your Docker image resides. This could be either the default registry that was created automatically when your Connect account was created or a private registry that has since been added. If the registry does not appear in the list, go to Add JFrog Registry to add yours to the list. Then return to this configuration and the added registry will appear in the list.
(Optional) If your registry does not appear in the dropdown list, go to Registry Management in Settings to add a registry.
For Deployment Type, choose either Docker Image or Docker Compose. To read the specific procedure for each of these, click either Docker Image or Docker Compose.
If you want the action to pull content from an Artifactory Edge account, complete the procedure in Add JFrog Registry, and then choose that registry as your JFrog Registry in Step 2 above.
After you have completed the configuration, click On Failure to configure your failure policy. Upon failure, the default Do Action is Revert Docker Compose File. This means that if the action or update fails, the rollback will revert to the Docker Compose file of the last successfully running application.
Learn about some of the best practices for using JFrog Connect with single Docker Images and Docker Compose.