Tag: docker

  • Docker Containers: Enabling SSL for Secure Databases

    Docker Containers: Enabling SSL for Secure Databases

    Why Enable SSL for Databases? Security is critical for any application, especially when dealing with sensitive data like financial records or user information. Databases such as MongoDB and PostgreSQL communicate over the network, making them vulnerable to interception. SSL (Secure Sockets Layer) encrypts the communication between the client and the database server to prevent data…

    by

    in
  • How to handle Node.js Code Coverage with NYC in Docker Containers

    How to handle Node.js Code Coverage with NYC in Docker Containers

    There are particular difficulties in getting NYC coverage from Node.js operating in Docker containers. This blog discusses the procedures needed to operate Node.js clusters in Docker and produce reliable code coverage reports. How to Get Coverage nativally? Running NYC locally is straightforward with a simple command: "start": "nyc node ./dist/main.js", However, there are more stages…

    by

    in
  • BitBucket Self-Hosting : Running ebpf/Privileged programs

    BitBucket Self-Hosting : Running ebpf/Privileged programs

    Bitbucket is a robust tool for source code management and continuous integration/continuous deployment (CI/CD). It offers flexibility in setting up pipelines, but there are limitations, particularly around root privileges and mounting volumes. This blog explores these limitations and provides detailed solutions using Docker-in-Docker (DinD) and Linux shell scripts. What is Bitbucket? Bitbucket is a Git…

    by

    in
  • Using TC-BPF program to redirect DNS traffic in docker containers

    Using TC-BPF program to redirect DNS traffic in docker containers

    The adoption of eBPF (Extended Berkeley Packet Filter) has revolutionized high-performance applications, tracing, security, and packet filtering within the Linux kernel. Specifically, TC-BPF, a type of eBPF program attached to the Traffic Control (TC) layer, has emerged as a powerful tool for packet manipulation in both ingress and egress. This blog delves into the practical…

    by

    in
  • Building a GO CRUD Rest API from scratch

    Building a GO CRUD Rest API from scratch

    Thanks to Francesco Ciulla for making a detailed video on how to create this go crud API which was really helpful to understand concepts. I have created a GO CRUD API which keeps account of Mens 100m Race using: Mux (Framework to build web servers in Go) Postgres (relational database) Docker (for containerization) Docker Compose…

    by

    in