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
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
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-connect registry that was created automatically when your Connect account was created or a private registry that has since been added.
(Optional) If your registry does not appear in the dropdown list, click Add (+) to add the 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 block to pull content from an Artifactory Edge account, complete the procedures in Link to Artifactory Edge.
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.