Docker storage drivers and storage models Storage drivers allows you to create data in the writable layer of the container, the files written in this layer do not persist when the…
Docker swarm — How to use node labels Node labels can be a powerful tool, a label is nothing more than a metadata of the node, imagine that we have two swarm nodes, one in a…
Docker swarm — how to use stacks Docker stacks allows to manage multi-container applications as a single unit
Docker swarm — services and high availability Docker swarm allows you to deploy services distributed to the nodes of the swarm, this allows high availability and high performance of…
Linux: Repeat last command until exit code is equal to 0 Scenario: we want to repeat the last entered command which fails until it returns a system code of 0, the reason that potentially exists…
Docker swarm: High Availability A Docker swarm is composed by nodes, nodes can be worker nodes or manager nodes.
Docker: lock and unlock swarm cluster Configuration data used by swarm managers are encrypted by default. When docker restarts both the TLS key used to encrypt communication…
Docker: how to create a private registry Scenario: We need a private docker registry for our custom images, the registry needs to use SSL.
Docker: how to backup and restore a swarm manager. Docker manager nodes store the swarm state and manager logs in the /var/lib/docker/swarm/ directory, without the state you cannot restore…