Category Archives: Docker

#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 »

#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 »

Hidden Oracle dependencies when running under #Docker on Fedora/CentOS/RedHat Linux

By | June 28, 2017

There are some hidden dependencies of running oracle database in a docker container under Fedora/CentOS/RedHat Linux. STEP 1: Kernel parameters Because the Oracle engine from the Docker container uses in fact the kernel of the host machine we cannot escape the need to set up some kernel parameters on the host. On the host machine… Read More »