Home » Docker

Tag Archives: Docker

Testing using TestContainers

java-interview-questions-answers

Part of our everyday ci/cd tasks involve using containers in order for the tests to take effect.So what if you could control the containers you use through your tests and serve your scenarios better.Also what if you could do this in a more managed way? Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common ...

Read More »

Quarkus remote dev in Docker containers (Update)

In an earlier video, I shared how to run the Quarkus remote-dev mode in Docker containers, which is very helpful for local and remote development environments. Since Quarkus version 1.6, however, the way how we execute the remote dev mode has changed. Assuming, we’d like to have the same setup like in the mentioned video. What’s new is that we ...

Read More »

Kafka & Zookeeper for Development: Zookeeper Ensemble

java-interview-questions-answers

Previously we spun up Zookeeper and Kafka locally but also through Docker. What comes next is spinning up more than just one Kafka and Zookeeper node and create a 3 node cluster. To achieve this the easy way locally docker-compose will be used. Instead of spinning up various instances on the cloud or running various Java processes and altering configs, ...

Read More »

Kafka & Zookeeper for Development: Local and Docker

java-interview-questions-answers

Kafka popularity increases every day more and more as it takes over the streaming world. It is already provided out of the box on cloud providers like AWS, Azure and IBM Cloud. Eventually for cases of local development it is a bit peculiar due to requiring various moving parts. This blog will focus on making it easy for a developer ...

Read More »

Docker Tutorial Part 2 – The good the bad and the IP

In this second part of docker tutorial, I’ll explain basics of networking in docker with stand-alone containers. Remember from the previous part of the tutorial where we mapped port of our host machine and the container? In this part, we will setup our containers so they can communicate with each other and for that we don’t need to do an ...

Read More »

Run a docker PostgreSQL instance locally for Testing

Running a PostgreSQL instance ad-hoc for testing is not always as bootstraping as it should be. This blog will run a PostgreSQL instance that connects to your workstation’s network and instead of using one of the popular tools like dbeaver we shall use the client that comes with the instance. Also we shall run a bootstrap script to have some ...

Read More »

Docker Tutorial part 1 – fistfull of container

In this docker tutorial series, my aim is to explain basics of docker and to do that with min number of words but maximum number of examples. Before doing anything I want you to install docker on your machine and I hope you have an idea what docker does. If not please check docker.com. Now let me explain two basic ...

Read More »