Atmos SFTP Docker Container with OpenSSH support

In this post, I intent to outline the how to set up a Docker container for Atmos SFTP and use SSH Keys to login to it.Atmos is an easy to use SFTP with OpenSSH support. Step 1: Generate SSH Keys The first step would be to generate the SSH Keys. You can do so in … Continue reading Atmos SFTP Docker Container with OpenSSH support

Set up Azurite Docker container.

In this post, we will set up docker container for Azurite. The Azurite open-source emulator provides a free local environment for testing your Azure Blob, Queue Storage, and Table Storage applications. When you're satisfied with how your application is working locally, switch to using an Azure Storage account in the cloud. The emulator provides cross-platform … Continue reading Set up Azurite Docker container.

Running MongoExpress in Docker : Solving the connection issue

In this post, we will attempt to run MongoDb and Mongo Expres on docker. That doesn't look challenging, then why a post dedicated to the same ? This is because of one common mistake that developer tends to do (oh yes, I made the mistake) and end up wondering why it doesn't work as desired. Let us write our … Continue reading Running MongoExpress in Docker : Solving the connection issue

Install Extensions in Postgres Docker container

Recently I wanted use the Fluent migrator for seeding my postgres database, which was running as a docker container. I basically had a table User, which had a primary key of type UUID that needs to be auto-generated. My migration code looked as follows. Create.Table(User.TABLE_NAME) .WithColumn("id").AsGuid().NotNullable().WithDefaultValue(SystemMethods.NewGuid).PrimaryKey() .WithColumn("username").AsString().NotNullable() .WithColumn("password").AsString().NotNullable(); The above code would essentially turn out as the following postgres sql. … Continue reading Install Extensions in Postgres Docker container

Create Mongo Replicaset using Docker Compose

In this blog post, we will attempt to create MongoDb replicaset using docker compose. A replica set in mongodb is a group of mongod instances which maintains the same set of data. This enables applications to work despite one of the db servers going down. At every instance, there wil be only and only ONE primary node. Rest of the … Continue reading Create Mongo Replicaset using Docker Compose

Seed Postgres Database with FluentMigrator

In this blog post, we will address how to seed your Postgres Database when using FluentMigrator. In the example context, we have a Postges Database running on a docker container, and have a Web Api connecting to the database using Dapper. Dapper is a micro-orm, and while it is pretty good in what is does, … Continue reading Seed Postgres Database with FluentMigrator

Initialize RabbitMq Docker Container with preconfigured Queues

As we work with docker containers, it is often desired to initialize the containers with specific application needs. One of such requirements was to initialize RabbitMq container with predefined queue. To be more specific, the objective needs to be achieved using docker compose. In this approach, we would use docker volume to map the configurations, which in turn … Continue reading Initialize RabbitMq Docker Container with preconfigured Queues

#DockerDays Day 6 – Docker Compose

Until now, we have learned how to create images using dockerfile and used network to create channels for communicating between two containers. But it can be cumbersome to manage each container separately, particularly in multi-container applications which have dozens of containers. Building, running, and connecting multiple containers using individual dockerfile would be pretty hard and consume a lot of time and … Continue reading #DockerDays Day 6 – Docker Compose

#DockerDays Day 5 – Building Images with dockerfile

So far we have been downloading images from Docker Hub and running the containers. But how are these images created in the first place? How can we create our own images? In this part of the series of Docker Days, we will delve into building images and how to use the Docker file. Agenda Introduction to dockerfile ?FormatBuild ImageA … Continue reading #DockerDays Day 5 – Building Images with dockerfile

#DockerDays Day 4- Data Persistence

So far we have been mostly interested in running the container, without thinking too much about data. We have also briefly described how the containers add a read-write layer on top of the image's read-only layers while running a container. But what does that actually mean? What happens to the read-write layer when the container … Continue reading #DockerDays Day 4- Data Persistence