Deploy Container
The Deploy Container action block provides an easy way to deploy a single container image or multiple containers using Docker Compose to your IoT devices.
Last updated
The Deploy Container action block provides an easy way to deploy a single container 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 container images 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 Container action block in your update flow, do the following:
Go to Deployment in the left menu and click Create Update Flow.
Drag the Deploy Container action block and drop it in the workflow.
Click the action block to open and configure it.
Enter a name for the action block.
Choose the registry account where your Docker image resides. This could be either the JFrog Default registry that was created automatically when your Connect account was created or an Other Registry.
(Optional) If you chose Other Registry in the previous step, you can associate any registry account of your choice, including an existing one listed in the dropdown box, or you can add a new registry account.
For Deployment Type, choose either Docker Compose or Single Container. To read the specific procedure for each of these, click either Docker Compose or Single Container.
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 containers and Docker Compose.