Auto mount CephFS with autofs
In order to ensure any mount is available the usage of /etc/fstab is not enough, what happens if the mount is not accessible at boot time or if the network is down for any reason. autofs is a service that […]
Technology & hobby site for geeks
In order to ensure any mount is available the usage of /etc/fstab is not enough, what happens if the mount is not accessible at boot time or if the network is down for any reason. autofs is a service that […]
This simple post I will demonstrate how to override an entry point with an inline script to any docker-compose.yml. According to docker compose reference, the default entry point of an image could be overridden, pointing to a file inside the […]
Do you have bash and do you want a damn pretty good top command without installing a bunch of dependencies, stop searching you’ve found bashtop.
This is a short recipe to use new context feature in docker to create & switch between docker contexts, so you can run any docker command remotely without need to establish a SSH connection (it’s done automatically by the docker […]
One of the most needed feature to run a docker swarm is to manage volumes the most automatic way, so the orchestration is easier & cleaner. Bind volumes are not a proper solution because it forces the swarm administrator to […]
One of the most forgotten feature of the YAML files is the usage of templates in order to decrease the copy&paste effect on them. And yes, it’s a feature of YAML files, not from docker. Repeated code is always considered […]
Short recipe to run portainer + agent in a swarm. Just create portainer.yml with your preferred editor: Take care about the volume, if several nodes are present you should store the volume in any kind of shared access (i.e. NFS […]
Parece casi magia, pero puedes renovar tu ordenador y sacarle mucho más partido durante otros tantos años si reemplazas el disco mecánico por uno SSD. Mi viejo iMac que casi no usaba ha pasado a ser mi herramienta diaria de […]
El otro día descubrí una pequeña utilidad que nos permite visualizar imágenes de cualquier tipo directamente en la consola de texto (sin servidor gráfico) mediante ASCII-art en pantalla. La herramienta, o mejor dicho el conjunto de herramientas tiene el “curioso” […]
Este post es sencillo, se trata de reemplazar cadenas de texto dentro de una columna en una tabla en MySQL (o cualquier otro gestor de base de datos).