Skip to content

Securing Docker Containers: Lessons Learned from a Data Loss Incident

Docker Security

Introduction We had set up MongoDB as a Docker container for a project and hosted it on our infrastructure server. We chose to use a Docker container for ease of deployment and management. However, one morning, we discovered that the MongoDB data was gone, prompting us to investigate the cause. Investigation Upon further investigation, we found that the ports exposed from the Docker container to the host were accessible from the world, even when the server was secured with UFW…

Read more

Backup and Restore of Docker Volumes: A Step-by-Step Guide

As more and more developers turn to Docker to streamline their development processes, it becomes increasingly important to understand how to take backup and restore a volume in Docker. In this article, we'll explore the pain areas around volume backup and restoration, the reasons for doing it, and provide a comprehensive solution that will help you take backup and restore volumes with ease. What? Docker has become an essential tool for many developers in recent years, allowing them to create…

Read more