Category Archives: Docker

Monitor and control #ActiveMq using Jolokia #API

By | October 26, 2023

Apache ActiveMQ® is the most popular open source, multi-protocol, Java-based message broker. It is widely used in a lot of multi service application environments where we need to pass messages between services. All this type of environments (kubernets, docker swarm etc. ) are used to be able to monitor and control the component services using… Read More »

Map #Docker container ports to virtual IPs in Linux with docker-compose

By | February 15, 2018

Sometimes you need to export multiple instances of the same service with a specific IP using same port outside of a docker swarm environment. Using docker swarm environment is easy to have several instances of the same service exporting some API on the same port. The swarm will take care of load balancing the services… Read More »

#Websphere SIB issues when running Websphere in a #Docker container

By | November 14, 2017

When running a Websphere Application server instance in a docker container, if the Service Integration Bus (SIB) is defined to store all the messages and data in an external database there is an issue caused by the way the bus is created. When the SIB is initialized the given name depends on the hostname of… Read More »

Bind #Docker container ports to virtual interfaces to simulate cluster nodes

By | November 8, 2017

My setup implies that I have 3 almost identical application nodes (running as containers) that are part of a cluster and they need to be mapped to different external IPs (not part of the docker ingress network) because they are added in a cluster configuration external to docker. The default behavior of port binding is… Read More »

#Docker : Fix services cannot see each other by name if they run on different swarm nodes issue

By | October 18, 2017

Lately after one of the updates of docker binaries I started to have a strange issue in a Docker Swarm setup configured here. Services were no longer able to see each other if they were running on different nodes. If two services were running on the same swarm node there was no issue. This is… Read More »

#Docker images cleanup

By | September 17, 2017

CASE 1: If you use multi-stage docker builds you will end up with lots of un-tagged images. The proper way to clean the intermediary leftover images is: docker rmi $(docker images -f “dangling=true” -q) CASE 2: If you want to clean up all the old images for which you no longer have any instantiated container… Read More »

Portable #RaspberryPI #Docker #Swarm – Static IP, Ethernet based, #Portainer

By | October 14, 2017

As I discussed in post Portable #Docker #Swarm made of #RaspberryPI – Updated hardware there were several hardware updates done to the swarm. One of the updates was adding a switch and connecting all the Raspberry PIs to the switch. First version of the Docker Swarm was done using the wifi connections of the PIs.… Read More »

Portable #Docker #Swarm made of #RaspberryPI – Updated hardware

By | October 14, 2017

I wanted to update my hardware setup for the Docker Swarm cluster from post Portable #Docker #Swarm made of #RaspberryPI. The idea was to make it more portable, more reliable and a bit faster. The following steps were done: Add ethernet support The original setup used a small Edimax router with the Raspberry Pi nodes… Read More »

Portable #Docker #Swarm made of #RaspberryPI

By | October 12, 2017

This is the new cool thing to build at home. A small cluster made of Raspberry PIs. Hardware setup of the cluster ITEM 1: Raspberry Pi 3 Model B I went for a set of 5 PIs because of the greater flexibility when you get more machines. I hope to be able to test several… Read More »

#Docker volumes and Selinux

By | September 30, 2017

When running complex environments on Docker on Linux again we face the mighty selinux. There are plenty of selinux alerts generated when I start my environment when the host machines have selinux enabled and volumes are used by the containers. Setting selinux permissions is hard and tedious and many people just prefer to disable it.… Read More »