Docker Image Continuously Growing


Go to solution Solved by Taddeusz,

Recommended Posts

  • Solution

@primeval_god My container was over 4 years old. I hadn't updated it. Not going to worry about updating it. There were continuous Python errors in the log. I replaced it with a different container that already has a driver for my printer. The only reason I need it is for printing to a printer that doesn't have built-in iOS printer support.

Link to comment

I've just encountered this problem - CUPS is filling the docker image file with lots of temporary files.  I deleted all these temporary files and the docker image file immediately returned to normal usage.

 

My CUPS docker is from gfjardim's repository, but is identified as 'beta'.

 

However, the files are created at around one every two seconds, each file is 38993 bytes and contains a list of *Font lines, eg:

*Font Oklahoma-Oblique: Standard "(001.005)" Standard ROM
*Font Oklahoma-BoldOblique: Standard "(001.005)" Standard ROM
*Font Utah: Standard "(001.005)" Standard ROM
*Font Utah-Bold: Standard "(001.005)" Standard ROM
*Font Utah-Oblique: Standard "(001.005)" Standard ROM
*Font Utah-BoldOblique: Standard "(001.005)" Standard ROM
*Font UtahCondensed: Standard "(001.005)" Standard ROM
*Font UtahCondensed-Bold: Standard "(001.005)" Standard ROM
*Font UtahCondensed-Oblique: Standard "(001.004)" Standard ROM
*Font UtahCondensed-BoldOblique: Standard "(001.005)" Standard ROM
*Font BermudaScript: Standard "(001.005)" Standard ROM
*Font Germany: Standard "(001.005)" Standard ROM
*Font SanDiego: Standard "(001.005)" Standard ROM
*Font US-Roman: Standard "(001.005)" Standard ROM

 

The docker container was created 9 months ago but I cannot believe it has been creating these files for 9 months.

 

Does anyone have any idea how to stop these files being created?

 

The following processes run repeatedly:

root     10559    25  0 18:03 ?        00:00:00 /bin/bash ./run
root     10564 10559  0 18:03 ?        00:00:00 /bin/bash ./run
root     10565 10564  9 18:03 ?        00:00:00 python -u /usr/local/bin/cloudprint -a /config/cloudpri
root     10568    31  0 18:03 ?        00:00:00 sleep 1

 

Link to comment
5 hours ago, Squid said:

Seeing as how the last update to gfjardim/cups was 6 years ago, and I'm not particularly surprised

 

Better off using this ...

 

Undoubtedly good advice.  However, I'm intrigued that two of us should encounter the same (or similar) issue, in the same week with, presumably, two different docker containers implementing the same application.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.