
We can define docker as our default provider with: It is an example to understand that you need a proper docker image that you can ssh into it.Īrchlinux sshd 1b074ffe98be 7 days ago 636.2 MBĪrchlinux latest c0c56d24b865 7 days ago 534 MBĪrchlinux devel e66b5b8af509 2 weeks ago 607 MBĬentos6 powerdns daf76074f848 3 months ago 893 MBĬentos6 newdnsps 642462a8dfb4 3 months ago 546.6 MBĬentos7 cloudstack b5e696e65c50 6 months ago 1.463 GBĬentos7 latest d96affc2f996 6 months ago 500.2 MBĬentos6 latest 4ba27f5a1189 6 months ago 489.8 MB RUN sed -i -e 's/^UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config & echo 'PermitRootLogin yes' > /etc/ssh/sshd_configĪgain, you dont need to follow this step by the book! RUN pacman -Syy & pacman -S -noconfirm openssh python2 If you are using sudo (then even better) dont forget to add the user to sudoers!


VAGRANT DOCKER PASSWORD
You need to have an ssh connection to this docker image and you will need -of course- to have a ssh password or a ssh authorized key built in this image for root. You can use your own dockerfile or docker image. The Dockerfile below, is suggesting that we already have an archlinux:latest docker image. We first need to create and build a proper Docker Image! Just for the fun of it, I used docker Docker With a few lines you can describe what you want to do and then use vagrant to create your enviroment of virtual boxes to work with.

Vagrant is a wrapper, an abstraction layer to deal with some virtual solutions, like virtualbox, Vmware, hyper-v, docker, aws etc etc etc I was never fan of vagrant (or even virtualbox) but I gave it a try and below are my personal notes on the matter.Īll my notes are based on Archlinux as it is my primary distribution but I think you can try them with every Gnu Linux OS. Recently, I had the opportunity to see a presentation on the subject by Alexandros Kosiaris.
