Affichage des articles dont le libellé est vagrant. Afficher tous les articles
Affichage des articles dont le libellé est vagrant. Afficher tous les articles

dimanche, mai 04, 2014

some docker and vagrant bookmarks

Some interesting stuff about docker, and vagrant
sorted by date as they evolve very quick


DOCKER

ARTICLE


March 25, 2014
BUILDING YOUR FIRST APP ON COREOS: START TO FINISH
http://www.centurylinklabs.com/building-your-first-app-on-coreos/

March 18, 2014
DEPLOYING MULTI-SERVER DOCKER APPS WITH AMBASSADORS
http://www.centurylinklabs.com/deploying-multi-server-docker-apps-with-ambassadors/

February 25, 2014
BUILDING COMPLEX APPS FOR DOCKER ON COREOS AND FIG
http://www.centurylinklabs.com/building-complex-apps-for-docker-on-coreos-and-fig/

February 18, 2014
AUTO-LOADBALANCING DOCKER WITH FIG, HAPROXY AND SERF
http://www.centurylinklabs.com/auto-loadbalancing-with-fig-haproxy-and-serf/

January 29, 2014
DECENTRALIZING DOCKER: HOW TO USE SERF WITH DOCKER
http://www.centurylinklabs.com/decentralizing-docker-how-to-use-serf-with-docker/

January 20, 2014
HOW TO BUILD A 2-CONTAINER APP WITH DOCKER
http://www.centurylinklabs.com/build-a-2-container-app-with-docker/




TIPS



March 21, 2014
15 QUICK DOCKER TIPS
http://www.centurylinklabs.com/15-quick-docker-tips/




TOOLS


March 5, 2014
TOP 10 OPEN-SOURCE DOCKER DEVELOPER TOOLS
http://www.centurylinklabs.com/top-10-open-source-docker-developer-tools/




SAMPLE EXAMPLES



April 23, 2014
Deploying Ghost With Docker
http://www.allaboutghost.com/deploying-ghost-with-docker/

April 14, 2014
DROPBOX IN DOCKER
http://www.centurylinklabs.com/dropbox-in-docker/

October 22, 2013
Sync Hacks: Deploy BitTorrent Sync with Docker
http://blog.bittorrent.com/2013/10/22/sync-hacks-deploy-bittorrent-sync-with-docker/

July 8, 2013
DOCKER DESKTOP: YOUR DESKTOP OVER SSH RUNNING INSIDE OF A DOCKER CONTAINER
http://blog.docker.io/2013/07/docker-desktop-your-desktop-over-ssh-running-inside-of-a-docker-container/
https://github.com/rogaha/docker-desktop




VAGRANT



SAMPLE EXAMPLES

March 18, 2014
Creating A CentOS GUI Vagrant Base Box
http://www.charlestonsw.com/creating-a-new-centos-vagrant-base-box/

dimanche, octobre 20, 2013

Creer une image d'un systeme déjà installé pour VirtualBox & Vagrant


Article pour Linux

1/ CREER UNE IMAGE VDI D'UN SYSTEM

* Prérequis : Avoir VirtualBox installer et dans le path

Exemple donné avec un systeme windows installé sur une  partition /dev/sda3

# creation de l'image
sudo -s cat /dev/sda3 | VBoxManage convertfromraw stdin /home/store/image.vdi $(expr 512 '*' $(cat /sys/block/sda/sda3/size))

# settings des droits
UID=mon_user
sudo chown $UID:vboxusers /home/store/image.vdi
sudo chmod u+rw,g+rw /home/store/image.vdi

Puis utiliser ce disque virtuel vdi pour constituer une nouvelle VM dans Virtual Box

Il faut ensuite restaurer le boot, étant donné que la plupart du temps la partition bootable n'est pas la partition dont on a fait l'image

# utilisation de boot-repair
télécharger l'ISO de boot-repair depuis http://sourceforge.net/p/boot-repair-cd/home/Home/
monter cet ISO en tant que CD dansla nouvelle VM précédement créer et booter dessus
utiliser  boot-repair pour restaurer le boot, par exemple installer GRUB pour linux ou restaurer la MBR pour windows

aide : https://help.ubuntu.com/community/Boot-Repair

2/PACKAGING VAGRANT

* Prérequis : Avoir vagrant installer et dans le path

Pour packager le vdi sous forme de box vagrant :

vagrant package --base image.vdi