How network works in docker
Docker create a bridge docker0 with a subnet.
For example:
docker0 Link encap:Ethernet HWaddr 02:42:d0:45:a7:3d
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0| Gestionnaire : Bonjour Monsieur Dupont, je suis ravi de vous rencontrer aujourd'hui. Merci d'avoir pris le temps de venir. Est-ce que vous êtes bien installé ? | |
| Client : Bonjour, merci, oui très bien. | |
| Gestionnaire : Parfait. Comme nous en avons convenu, cette première rencontre a surtout pour but de mieux vous connaître et de dresser un état des lieux de votre situation patrimoniale. Je ne vais pas vous donner de recommandations aujourd'hui, mais plutôt vous poser des questions pour comprendre vos besoins, vos projets et vos contraintes. Cela vous convient ? | |
| Client : Oui, c'est exactement ce que je souhaite. | |
| Gestionnaire : Très bien. Pour commencer, pourriez-vous me parler un peu de vous ? Votre situation familiale par exemple. |
| Hello guys |
How network works in docker
Docker create a bridge docker0 with a subnet.
For example:
docker0 Link encap:Ethernet HWaddr 02:42:d0:45:a7:3d
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0Les markers ne peuvent être que des UIImage
Nous on veut une couleur dynamique et un label dynamique. Donc pour ça on a besoin d'une methode static (genre dans un fichier swift ADMarkerGenerator):
func generateMarkerWithColor(color: UIColor, andText text: String) -> UIImage
Et dans cette méthode, on aura un code comme ça: (écrit en obj-c, pas testé mais ça devrait fonctionner):
#import //a ajouter dans le bridging header, pas sur que ça soit necessaire cependant#cargo, docker hub without docker, how to
18 Jan 2015
###Background
I have been using linux containers for almost 2 years now. It started during an internship at Applidget, a startup in Paris. My job was to integrate linux containers technology in their private PaaS. At this time, there where no doubt, the technology to use was LXC. One week or so after I started digging into LXC, one of my co-worker talked to me about this new thing called docker. He told me "isn't it what you are supposed to do during your internship ?". And it was kind of it.
At this time I already highlighted a big challenge of containers in PaaS: creation time. Waiting for bundle install to complete is already long enough to have to wait for another 40 secondes to create a container :). Docker landed just in time !
| package main | |
| import ( | |
| "code.google.com/p/go.crypto/ssh/terminal" | |
| "github.com/kr/pty" | |
| "io" | |
| "os" | |
| "os/exec" | |
| ) |
| # make . | |
| # make -C path/dir | |
| build: psdock | |
| $(info ==> psdock binary in $(GOPATH)/bin/psdock (tip: add the $(GOPATH)/bin to your PATH)) | |
| psdock: lib_psdock | |
| go install ./cmd/psdock/ | |
| lib_psdock: check_env |
disk utility to format the card with fat32diskutil listdiskutil unmountDisk /dev/diskX where X is what you found out last stepsudo dd bs=1m if=<path to the .img file> of=/dev/rdiskXdd is finished| set -e | |
| sudo apt-get update | |
| echo "Installing base stack" | |
| packagelist=( | |
| curl | |
| build-essential | |
| bison |