docker
Limit docker log file size
· ☕ 1 min read · 🤖 Alexander Chernov

If you are running docker with default settings, you will probably find one day that the disk space on your machine begin to approach 100% state.

That’s because by default, docker will log all stdout from the containers to a log files, and it won’t rotate nor trim them.

Luckily there is a quick solution to that


Testing ansible roles with molecule, using DIND
· ☕ 4 min read · ✍️ Alexander Chernov

Molecule is a testing/development framework which is designed to aid in the development and testing of Ansible roles.

However, there are several challenges involved if you need to test docker_container functionality in your role