Skip to content

Instantly share code, notes, and snippets.

@hmnhf
hmnhf / docker-node-missing-network-attachments.md
Created July 9, 2022 11:03
Docker node is missing network attachments, ip addresses may be exhausted, no suitable node
  • See caprover/caprover#619 (comment)

  • If your Docker services don't start after an unexpected reboot and you get these errors, try the following fix.

    • Docker node is missing network attachments, ip addresses may be exhausted
    • No suitable node (1 node not available for new tasks)
sudo systemctl stop docker
sudo rm /var/lib/docker/swarm/worker/tasks.db
sudo systemctl start docker
@hmnhf
hmnhf / mandrillapp_invalid_sender_characters.rb
Last active November 13, 2020 09:20
Mandrillapp invalid sender characters
# I was encountering this exception: Net::SMTPServerBusy: 401 4.1.7 Bad sender address syntax
# First I searched to see if there's any documentation around this issue but didn't find anything,
# so I wrote this snippet to find those invalid characters.
require 'mail'
Mail.defaults do
delivery_method :smtp, {
port: 25,
address: "smtp.mandrillapp.com",