Use Docker Image
JFrog Connect enables you to quickly deploy a single Docker image from any repository directly to your edge devices.
Last updated
Was this helpful?
JFrog Connect enables you to quickly deploy a single Docker image from any repository directly to your edge devices.
Last updated
Was this helpful?
Create an update flow that uses the Deploy Container action. When you select the Docker Image option, you will be able to pull a container image directly from a repository, whether it is public or your own private repository.
Completed the procedures in Deploy Docker.
Enter the source of your Docker image, which may be one of the following, depending on the registry you chose.
Image Path: This is the unique path where the container image is located and the image file name. For example: platform-URL/base-repo/docker-repo/docker-image
Enter this if you chose default-connect for the registry or any other Artifactory registry (see Deploy Docker).
Image Name: Enter the docker image name if you chose a Docker registry for the registry (see Deploy Docker).
2. Enter the Image Tag.
Click Add Run Options to enter the run flag information.
Choose a command from the list and then enter the run flag. These are the same flags used in the docker run command.
Click Add (+) if you want to enter an additional run flag. You can run as many as you want.
The Docker run
command structure uses official docker commands, but in a structured manner.
To add the command to run in the Docker image, remove all parts except for [COMMAND] [ARG…]
For example, in the following CLI deployment:
the command will be: echo hello world
For [OPTIONS]
use the Docker Run flags.
Mark the checkbox to delete the current image after the new Docker image has been deployed. (This is the default setting.)
Configure your On Failure policy and instructions for rolling back, if necessary.
On Failure enables you to define what happens upon failure of the Deploy Docker action. By default, the first Docker image is stopped, and if the action fails, the new image is deleted and the previous image will start running once again. This returns everything to the previous state.
Failures that are caused by container logic (e.g., Command fails or Invalid image architecture) are handled by the Docker Compose binary and are not regarded as an action failure.
Save your action configuration.
If you are adding more actions to the workflow, continue to the next one. Otherwise, complete your workflow configuration and save it.
Learn how to go on to the next step and run the update deployment.