Best Practice Guide – Deploy Container Update
This guide goes over the best practice to fill and create an Over-The-Air Container update to your product fleet. The best practice guidelines are taught how to fill a Container update recipe for Linux based products while using the best technics to make the software deployment effective and successful as possible.
The Container update recipe approach
This approach is based on the Docker container engine. The Container update tool works only on Linux based devices that run a Docker container engine. To install the Docker engine on your edge Linux device, read JFrog Connect docs.
Guidelines
1. Under the Update category, click on the ‘New Container Update’ section.
2. In the general details section, select the devices you would like to deploy the next Container update. Then, fill the update version, for example: v1.1.2 and the comment row with relevant details about this update.
![](https://speedmedia.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/https://media.jfrog.com/wp-content/uploads/2022/11/23113243/5fdbd32657297db0e7ded404_c1f0a2_04eddca5459a42f9ba816772e63b13abmv2.png)
3. In the ‘Container details’ section, integrate your DockerHub account with JFrog Connect. Choose a private or public repository, and click on the ‘add account’ button to fill your DockerHub account details.
To fill the ‘Docker Hub Access Token’ parameter, create Access Tokens at the dashboard of your Docker Hub account in the ‘Security’ category under the ‘Settings’ page and copy&paste the access token in accordance.
![](https://speedmedia.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/https://media.jfrog.com/wp-content/uploads/2022/11/23113218/5fdbd32621b85b22b21738c1_c1f0a2_d0c38b7e00364b4a842d4b4b8490bfc1mv2.png)
4. Fill in the deployment details: DockerHub repository name, image tag you would like to deploy, the Docker ‘run’ parameters and commands, if needed.
![](https://speedmedia.jfrog.com/08612fe1-9391-4cf3-ac1a-6dd49c36b276/https://media.jfrog.com/wp-content/uploads/2022/11/23113221/5fdbd32683b88a0e6093ca37_c1f0a2_92ab8eeb117e4dcdb60c3d1a848a1ebemv2.png)
5. Choose the number of containers you would like to deploy from your repository image and if to delete the currently used image (this option works only if the same repository is currently used on the deployed device).
6. Finally, check the Rollback option to re-start the running containers from the same repository that was before this deployment.