LogoLogo
What's New?Connect Agent ReleasesBook a DemoPricing
  • Documentation
  • Developers
  • Administration
  • OVERVIEW
    • JFrog Connect Overview
      • Architecture Overview
        • Connect Agent
        • Connect & JFrog Platform
      • Plan Your Update Strategy
        • Software Update Objectives & Concepts
        • Software Update Process & Procedures
  • Get Started
    • Create JFrog Connect Account
    • Log in to JFrog Connect
    • Network Requirements
    • Register Device
  • Manage your Fleet
    • Register Devices at Scale
      • Freeze Image on Device
      • Build Image with Agent
    • Register & Update Device at Once
    • Organize Your Fleet
      • Create Project
      • Move Device between Projects
      • Create Groups
        • Add Device to Group
        • Add Many Devices to Group
        • Change Group Name
        • Delete Group
      • Tag Devices
        • Remove a Tag
      • Remove Many Devices
  • Devices
    • Fleet Overview
      • Filter Devices
      • Locate Devices
    • Device Details
      • Delete a Device
      • Block Updates with Update Trigger
    • Update Connect Agent
    • Delete Many Devices
  • Deployment
    • Create Update Flow
      • Actions
        • Run Command
        • Run Script
        • Deploy File
        • Deploy Docker
          • Use Docker Image
          • Use Docker Compose
          • Get Artifactory Parameters
        • Clone Git Repository
        • Download Artifact
          • Get Artifactory Path
        • Download Release Bundle
          • Get Artifactory Parameters for Release Bundle
        • Update Image
        • Install Debian Package
          • Get Artifactory Parameters for Debian
      • Use Update Parameters
      • On Failure & Rollback
      • Vulnerability Scans
      • Sample Use Case: Build Update Flow for Reuse
    • Deploy Software
      • Set Application & Version
      • Set Alert upon Failure
      • Set Phased Rollout
      • View Deployment Progress
        • Detailed Deployment Information
        • Abort a Deployment
      • Deploy in Groups
      • Sample Use Case: Deploy Docker Images to Devices
  • Tools
    • Remote Tools
      • Use Terminal
      • Open Port Tunnel Session
        • Access with VNC
        • Connect with SSH
        • Access Device Web Applications
      • Run Commands Remotely
        • Run Command as Non-Root User
      • Get Device Files (Fetch Files)
    • Alerts
      • Create Channel
      • Set Webhook
    • Monitor
      • Resource Monitor
      • Process Monitor
  • Releases
    • What's New?
    • Connect Agent Release Notes
  • Troubleshooting
    • Connect Server Status
    • Troubleshoot Topics
      • Device Registration
      • Terminal Troubleshooting
Powered by GitBook
On this page
  • Prerequisites
  • Configure Docker Options Options
  • Add Run Options
  • Command
  • Delete Previous Image
  • Configure On Failure Options
  • Complete the Configuration
  • What’s Next?

Was this helpful?

Export as PDF
  1. Deployment
  2. Create Update Flow
  3. Actions
  4. Deploy Docker

Use Docker Image

JFrog Connect enables you to quickly deploy a single Docker image from any repository directly to your edge devices.

PreviousDeploy DockerNextUse Docker Compose

Last updated 28 days ago

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.

Prerequisites

Completed the procedures in

Configure Docker Options Options

  1. 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 and file name where the container image is located. 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 ).

Tip: If you need help finding the parameters above in Artifactory, see .

2. Enter the Image Tag.

Add Run Options

  1. Click Add Run Options to enter the run flag information.

  2. Choose a command from the list and then enter the run flag. These are the same flags used in the docker run command.

  3. Click Add (+) if you want to enter an additional run flag. You can run as many as you want.

Command

The Docker run command structure uses official docker commands, but in a structured manner.

docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

To add the command to run in the Docker image, remove all parts except for [COMMAND] [ARG…]

For example, in the following CLI deployment:

docker run alpine:latest echo hello world 

the command will be: echo hello world

For [OPTIONS] use the Docker Run flags.

Delete Previous Image

Mark the checkbox to delete the current image after the new Docker image has been deployed. (This is the default setting.)

Configure On Failure Options

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.

Complete the Configuration

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.

What’s Next?

Image Name: Enter the docker image name if you chose a Docker registry for the registry (see ).

Configure your policy and instructions for rolling back, if necessary.

Learn how to go on to the next step and run the .

Deploy Docker
On Failure
update deployment
Deploy Docker
.
Deploy Docker
Get Artifactory Parameters for Docker