Skip to content

Instantly share code, notes, and snippets.

View fferriere's full-sized avatar

Florian FERRIERE fferriere

  • Région Lyonnaise
View GitHub Profile

Keybase proof

I hereby claim:

  • I am fferriere on github.
  • I am fferriere (https://keybase.io/fferriere) on keybase.
  • I have a public key whose fingerprint is CFAE DACB DA8A A777 F6AC 5C08 0D28 7563 C99B 25AC

To claim this, I am signing this object:

@fferriere
fferriere / article.md
Created January 12, 2016 15:13
Utiliser dnsmasq lors du lancement d'un container docker

Quand on lance un nouveau container docker, une adresse IP lui est attribuée. Sauf que cette adresse IP n'est pas toujours la même.

Pour palier à ce problème j'utilise un serveur DNS qui est hydraté grâce au script de lancement des mes containers.

Comme serveur DNS j'utilise dnsmasq. J'ai même crée un container pour l'utiliser : https://github.com/fferriere/docker-dnsmasq .

Petite illustration avec run.sh