Docker Swarm

Straight to the point when creating a docker swarm, assume the internal network space is . This will create the swarm

#docker swarm init —advertise-addr —listen-addr

On the secondary node that will act as a worker, lets just refer it as worker-node

#docker swarm join —token SWMTKN-1-xxxxxxxxxx-

In order to join a manager

#docker swarm join-token manager 

Leave a Reply


Updating $PATH for Laravel in Ubuntu 20.04

In order to get #laravel command to work make sure its included in the $PATH $ composer global require laravel/installer…

Convert MySQL db character encoding set

Converting mysql character set type

MySQL: Automate MySQL Dump

Need to backup all the databases daily mysqldump --all-databases --single-transaction --quick --lock-tables=false > full-backup-$(date +%F).sql -u root -p Then edit…

Satellite Server: katello-service

Time for some upgrades and backups of the satellite server, first inspect the current services running and enabled [root@rhel75lab ~]#…