OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to remove unused docker images from vps server using github actions? [closed]

  • Thread starter Thread starter Hashir Ayaz
  • Start date Start date
H

Hashir Ayaz

Guest
I have setup watchtower in my docker-compose to update my containers to use the latest images. However, the old images are still stored and consume storage on my vps server.

I have to manually prune them or set up a cron job: but this means that i would have to setup the cron job anytime i change my server. Is there a way to automatically remove unused images using github actions by setting up some workflow.
<p>I have setup watchtower in my docker-compose to update my containers to use the latest images. However, the old images are still stored and consume storage on my vps server.</p>
<p>I have to manually prune them or set up a cron job: but this means that i would have to setup the cron job anytime i change my server. Is there a way to automatically remove unused images using github actions by setting up some workflow.</p>
Continue reading...
 
Top