<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Containers on Daniel Genezini</title><link>https://genezini.com/tags/containers/</link><description>Recent content in Containers on Daniel Genezini</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>2022 Daniel Genezini All rights reserved</copyright><lastBuildDate>Tue, 22 Apr 2025 06:00:00 -0300</lastBuildDate><atom:link href="https://genezini.com/tags/containers/index.xml" rel="self" type="application/rss+xml"/><item><title>Down the Rabbit Hole of creating a Home Lab</title><link>https://genezini.com/blog/p/down-the-rabbit-hole-of-creating-a-home-lab/</link><pubDate>Tue, 22 Apr 2025 06:00:00 -0300</pubDate><guid>https://genezini.com/blog/p/down-the-rabbit-hole-of-creating-a-home-lab/</guid><description>&lt;img src="https://genezini.com/blog/p/down-the-rabbit-hole-of-creating-a-home-lab/cover.webp" alt="Featured image of post Down the Rabbit Hole of creating a Home Lab" /> Setting up a home lab is an incredible journey that opens up countless learning opportunities in system administration, networking, security, and modern deployment practices. While it might seem daunting at first, the knowledge gained is invaluable for any tech enthusiast or IT professional.
In this post, I'll share a practical overview of how I use my home lab, highlighting the real-world projects I've tackled and the key lessons learned along the way. From self-hosting essential services to experimenting with automation, networking, and security, I'll focus on the hands-on experiences that have shaped my understanding of home server management and modern IT practices.</description></item><item><title>Integration tests with AWS S3 buckets using Localstack and Testcontainers</title><link>https://genezini.com/blog/p/integration-tests-with-aws-s3-buckets-using-localstack-and-testcontainers/</link><pubDate>Mon, 31 Jul 2023 20:00:00 -0300</pubDate><guid>https://genezini.com/blog/p/integration-tests-with-aws-s3-buckets-using-localstack-and-testcontainers/</guid><description>&lt;img src="https://genezini.com/blog/p/integration-tests-with-aws-s3-buckets-using-localstack-and-testcontainers/cover.jpg" alt="Featured image of post Integration tests with AWS S3 buckets using Localstack and Testcontainers" /> As I explained previously in this article, in integration tests, we should mock unmanaged dependencies (dependencies that are external to our system and not controlled by us, like APIs) but test against real managed dependencies (dependencies that are controlled by our system, like databases, queues, etc). This improves the reliability of the integration tests because the communication with these dependencies are a complex part of the system and can break with a package update, a database update or a change in a queue message format.
In this post, I'll show how to use Localstack and Testcontainers to emulate an AWS environment for use in integration tests.</description></item><item><title>How to run scripts on SQL Server container startup</title><link>https://genezini.com/blog/p/how-to-run-scripts-on-sql-server-container-startup/</link><pubDate>Mon, 15 May 2023 06:00:00 -0300</pubDate><guid>https://genezini.com/blog/p/how-to-run-scripts-on-sql-server-container-startup/</guid><description>&lt;img src="https://genezini.com/blog/p/how-to-run-scripts-on-sql-server-container-startup/cover.jpg" alt="Featured image of post How to run scripts on SQL Server container startup" /> Unlike MySQL and PostgreSQL, which execute scripts in the /docker-entrypoint-initdb.d/ directory after initialization, the SQL Server container image doesn't provide a built-in mechanism for running scripts at startup.
In this post, I'll show how to create a custom container image that waits for SQL Server startup and runs a pre-configured script. In addition, I'll show how to use this custom image to run SQL Server in Testcontainers.</description></item><item><title>.NET and AWS S3 with LocalStack: How to develop with local S3 buckets</title><link>https://genezini.com/blog/p/dotnet-and-aws-s3-with-localstack-how-to-develop-with-local-s3-buckets/</link><pubDate>Mon, 13 Feb 2023 07:30:00 -0300</pubDate><guid>https://genezini.com/blog/p/dotnet-and-aws-s3-with-localstack-how-to-develop-with-local-s3-buckets/</guid><description>&lt;img src="https://genezini.com/blog/p/dotnet-and-aws-s3-with-localstack-how-to-develop-with-local-s3-buckets/cover.jpg" alt="Featured image of post .NET and AWS S3 with LocalStack: How to develop with local S3 buckets" /> LocalStack is an open-source framework that allows us to emulate the major AWS services locally, making it easier to develop and test cloud applications without incurring the cost and complexity of deploying to a real cloud environment.
In this post, I'll show how to configure it to emulate S3 buckets and how to interact with those buckets from a C# application.</description></item></channel></rss>