curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \
chmod +x /usr/local/bin/docker-machine
docker-machine version
docker-machine ls
docker-machine create --driver virtualbox default
docker-machine ls
docker-machine env default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[ "`whoami`" != "root" ] && echo "Should be run by root!" && exit 1 | |
[ -e *.vmdk ] || ( echo Extracting VMDK image from *.ova ... ; tar xf *.ova ) | |
[ -e github.img ] || ( echo Converting *.vmdk to raw image ... ; qemu-img convert *.vmdk github.img ) | |
echo Preparing mounts ... | |
losetup -f github.img -P | |
vgchange -ay enterprise-11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set this variable - it will be used as both the root folder name and the theme name for sage | |
# no spaces - should not be a URL - I'm using 'my-site' or similar | |
SITENAME="your-site-name" | |
# Add BitBucket username/password to have a remote repo setup | |
BBUSER="YOUR-BB-USERNAME" | |
BBPASS="YOUR-BB-PASSWORD" |
I make some assumptions, and make no claims in how well supported this is or ever will be. I wanted to avoid using VMs because i've been working in containers for the last half decade. It made sense to just skip the middle man and use a machine type container system to run my minikube workloads.
Simply put, Juju does a fantastic job; but to stay objective I wanted to achieve minikube in LXD
as a functional alternative to juju deploy kubernetes-core
, or using KVM/VirtualBox in this solution.