Docker swarm: High Availability
A Docker swarm is composed by nodes, nodes can be worker nodes or manager nodes.
cat docker-swarm-high-availability.md →# Linux, Devops, Scripting, Cats and various things come to my mind
// also on this box: ./practice, ./tools and ./games
A Docker swarm is composed by nodes, nodes can be worker nodes or manager nodes.
cat docker-swarm-high-availability.md →Configuration data used by swarm managers are encrypted by default. When docker restarts both the TLS key used to encrypt communication…
cat docker-lock-and-unlock-swarm-cluster.md →Scenario: We need a private docker registry for our custom images, the registry needs to use SSL.
cat docker-how-to-create-a-private-registry.md →Docker manager nodes store the swarm state and manager logs in the /var/lib/docker/swarm/ directory, without the state you cannot restore…
cat docker-how-to-backup-and-restore-a-swarm-manager.md →Scenario: we want to sent an email using mailx, the email must contain an attachment and the subject should be modified with a timestamp
cat linux-mailx-how-to-sent-an-email-with-an-attachment-and-how-to-add-timestamp-to-subject.md →Scenario: We need an alias for our shell that will print epoch time upon execution, this will be useful for scripts that will run locally.
cat linux-create-a-python-alias-that-will-print-epoch-time.md →Scenario: We have a script that runs every day, this script generates a file (report.zip) which always have the same name, this causes the…
cat linux-rename-a-file-appending-a-timestamp-one-liner.md →When we create images we tend to think linear:
cat docker-doing-this-will-create-huge-images-how-to-avoid-it.md →