Docker IMG full


wedge22

Recommended Posts

Increasing the size of docker image will not fix this, it will just make it take longer to fill up. You have one or more of your applications misconfigured so it is writing to a path that is not mapped. You should really reduce your docker image to 20G or less. If you have things working right you are very unlikely to use even this much.

 

See the Docker Image Filling Up section of the Docker FAQ

Link to comment

root@Wedge-Server:~# ls -lah /var/log
total 128M
drwxr-xr-x  9 root   root  580 Dec 15 04:40 ./
drwxr-xr-x 14 root   root  320 Dec 10 09:41 ../
-rw-------  1 root   root    0 Nov  8 12:02 btmp
-rw-r--r--  1 root   root    0 Jun 27 19:22 cron
-rw-r--r--  1 root   root    0 Jun 27 19:22 debug
-rw-rw-rw-  1 root   root  86K Dec 10 09:41 dmesg
-rw-rw-rw-  1 root   root    0 Dec 15 04:40 docker.log
-rw-rw-rw-  1 root   root 128M Dec 16 13:29 docker.log.1
-rw-r--r--  1 root   root 1.9K Dec 16 13:47 faillog
-rw-r--r--  1 root   root  18K Dec 16 13:47 lastlog
drwxr-xr-x  3 root   root  120 Dec 10 10:02 libvirt/
-rw-r--r--  1 root   root    0 Jun 27 19:22 maillog
-rw-r--r--  1 root   root    0 Jun 27 19:22 messages
drwxr-xr-x  2 root   root   40 May 15  2001 nfsd/
drwxr-x---  2 nobody root   60 Dec 10 09:41 nginx/
lrwxrwxrwx  1 root   root   24 Nov  8 12:01 packages -> ../lib/pkgtools/packages/
drwxr-xr-x  4 root   root   80 Jun 19 14:13 pkgtools/
drwxr-xr-x  2 root   root  480 Dec 12 00:01 plugins/
-rw-rw-rw-  1 root   root    0 Dec 10 09:41 preclear.disk.log
lrwxrwxrwx  1 root   root   25 Nov  8 12:02 removed_packages -> pkgtools/removed_packages/
lrwxrwxrwx  1 root   root   24 Nov  8 12:02 removed_scripts -> pkgtools/removed_scripts/
drwxr-xr-x  3 root   root  160 Dec 10 09:41 samba/
lrwxrwxrwx  1 root   root   23 Nov  8 12:01 scripts -> ../lib/pkgtools/scripts/
-rw-r--r--  1 root   root    0 Jun 27 19:22 secure
lrwxrwxrwx  1 root   root   21 Nov  8 12:01 setup -> ../lib/pkgtools/setup/
-rw-r--r--  1 root   root    0 Jun 27 19:22 spooler
drwxr-xr-x  3 root   root   60 Oct 16 20:19 swtpm/
-rw-r--r--  1 root   root 284K Dec 16 13:47 syslog
-rw-rw-r--  1 root   utmp 7.5K Dec 16 13:47 wtmp

Link to comment

I followed the guides and everything is back up and running, I changed the global settings for the Docker so it can have 3 logs on rotation with a maximum file size of 50MB. Fix Common Problems all looks good now, below are the results again from the cmd you posted earlier.

 

drwxr-xr-x  9 root   root  560 Dec 16 14:45 ./
drwxr-xr-x 14 root   root  320 Dec 16 14:45 ../
-rw-------  1 root   root    0 Nov  8 12:02 btmp
-rw-r--r--  1 root   root    0 Jun 27 19:22 cron
-rw-r--r--  1 root   root    0 Jun 27 19:22 debug
-rw-rw-rw-  1 root   root  86K Dec 16 14:44 dmesg
-rw-rw-rw-  1 root   root  11K Dec 16 14:56 docker.log
-rw-r--r--  1 root   root 1.9K Dec 16 14:45 faillog
-rw-r--r--  1 root   root  18K Dec 16 14:45 lastlog
drwxr-xr-x  3 root   root  120 Dec 16 14:45 libvirt/
-rw-r--r--  1 root   root    0 Jun 27 19:22 maillog
-rw-r--r--  1 root   root    0 Jun 27 19:22 messages
drwxr-xr-x  2 root   root   40 May 15  2001 nfsd/
drwxr-x---  2 nobody root   60 Dec 16 14:45 nginx/
lrwxrwxrwx  1 root   root   24 Nov  8 12:01 packages -> ../lib/pkgtools/packages/
drwxr-xr-x  4 root   root   80 Jun 19 14:13 pkgtools/
drwxr-xr-x  2 root   root  520 Dec 16 14:45 plugins/
-rw-rw-rw-  1 root   root    0 Dec 16 14:45 preclear.disk.log
lrwxrwxrwx  1 root   root   25 Nov  8 12:02 removed_packages -> pkgtools/removed_packages/
lrwxrwxrwx  1 root   root   24 Nov  8 12:02 removed_scripts -> pkgtools/removed_scripts/
drwxr-xr-x  3 root   root  160 Dec 16 14:45 samba/
lrwxrwxrwx  1 root   root   23 Nov  8 12:01 scripts -> ../lib/pkgtools/scripts/
-rw-r--r--  1 root   root    0 Jun 27 19:22 secure
lrwxrwxrwx  1 root   root   21 Nov  8 12:01 setup -> ../lib/pkgtools/setup/
-rw-r--r--  1 root   root    0 Jun 27 19:22 spooler
drwxr-xr-x  3 root   root   60 Oct 16 20:19 swtpm/
-rw-r--r--  1 root   root 221K Dec 16 14:56 syslog
-rw-rw-r--  1 root   utmp 7.9K Dec 16 14:45 wtmp

 

 

Thanks for the help.

Link to comment
  • 8 months later...

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.