Automox Worklet: Auto-Update Stale Docker Containers on Linux
Automox Worklet Overview: Auto-Update Stale Docker Containers
eeping running Docker containers up-to-date is a challenge that can become pretty unwieldy as the amount of infrastructure you manage grows. Thanks to Watchtower, a Docker image that can update other Docker images in a system, updates can be handled in a safe and—more importantly—scalable way.
This worklet will check for any Docker running containers on an endpoint with available updates and, if the container has the com.centurylinklabs.watchtower.enable label set to true will mark those containers for update.
You can assign this Worklet to any number of your macOS or Linux groups and execute the policy. You can also set the Worklet to run on a schedule like any other Worklet.
To create this Worklet, use the evaluation and remediation code scripts located here in the original posting on the Automox community. Be sure to refer to any noted or important information regarding adapting the code to meet your specific needs.
Step-by-Step: Create an Automox Worklet
Before deploying an Automox Worklet to the production environment, we suggest testing this on a few devices to confirm its accuracy. If you have any questions, please contact our support team for technical assistance at email@example.com.
To deploy this endpoint hardening Worklet, do the following:
- Log in to your Automox Console.
- Navigate to the System Management page and click Create Policy in the upper right-hand section of the screen.
- Choose Linux under Worklet.
- Copy and paste the Remediation code scripts [located here].
- Define a schedule for when you want this policy to run.
- Click Create Worklet.
- Assign Worklet to a group or multiple groups and click Save Changes.
- [Optional] To execute Worklet manually, click the Execute Policy Now button.
About Automox Automated Patch Management
Facing growing threats and a rapidly expanding attack surface, understaffed and alert-fatigued organizations need more efficient ways to eliminate their exposure to vulnerabilities. Automox is a modern cyber hygiene platform that closes the aperture of attack by more than 80% with just half the effort of traditional solutions.
Cloud-native and globally available, Automox enforces OS & third-party patch management, security configurations, and custom scripting across Windows, Mac, and Linux from a single intuitive console. IT and SecOps can quickly gain control and share visibility of on-prem, remote and virtual endpoints without the need to deploy costly infrastructure.
Experience modern, cloud-native patch management today with a 15-day free trial of Automox and start recapturing more than half the time you're currently spending on managing your attack surface. Automox dramatically reduces corporate risk while raising operational efficiency to deliver best-in-class security outcomes, faster and with fewer resources.