Skip to content

Instantly share code, notes, and snippets.

View pyaillet's full-sized avatar
:bowtie:
Trolling...

Pierre-Yves Aillet pyaillet

:bowtie:
Trolling...
View GitHub Profile
@pyaillet
pyaillet / cc-install.sh
Last active April 30, 2018 14:46
Installing clearcontainers on a VM
#!/bin/sh
# install docker
sudo -E apt-get -y install apt-transport-https ca-certificates wget software-properties-common
wget -qO - https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo -E add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo -E apt-get update
sudo -E apt-get -y install docker-ce
# install clear containers
@pyaillet
pyaillet / test-nested-vm.sh
Created April 30, 2018 14:38
Nested Virtualization on GCP
#!/bin/sh
VM_NAME=nested-vm
VM_IMAGE_NAME=ubuntu-1604-nested
SOURCE_DISK=ubuntu-1604-xenial-v20180424
SOURCE_PROJECT=ubuntu-os-cloud
ZONE=europe-west1-d
MIN_CPU_MODEL="Intel Haswell"
#gcloud compute images create $VM_IMAGE_NAME \
#!/bin/sh
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common