Daily Archives: 13.06.2022
Fixing docker does not want to update images
If you run docker pull, and you see an error like failed to register layer: Error processing tar file(exit status 2): fatal error: runtime: out of memory, there could be 2 reasons. Obvious one — not enough disk space for docker. You can fix it with docker system prune -af docker volume ls -qf dangling=true …
How to add and increase swap on CentOS
Adding a swap file without reboot If you are having a dedicated server somewhere with not that much memory, you could decide to add a swap without rebooting your server. To do so, you need to follow the routine: sudo dd if=/dev/zero of=/swapfile count=1024 bs=1MiB sudo mkswap /swapfile sudo chmod 0600 /swapfile sudo swapon /swapfile …