Skip to content

Instantly share code, notes, and snippets.

Darren Shepherd ibuildthecloud

Block or report user

Report or block ibuildthecloud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Instructions to hack up WSL2 on Windows 10 Build 18917 to run k3s (Kubernetes) and rio

Install WSL2

I already had Ubuntu-18.04 installed in wsl 1. So I just did wsl --set-version Ubuntu-18.04 2

Compile Kernel

Using Ubuntu 18.04 (I'm sure any distro will work), inside WSL2 download and extract to a folder. The latest version of the kernel source is available at (


Keybase proof

I hereby claim:

  • I am ibuildthecloud on github.
  • I am ibuildthecloud ( on keybase.
  • I have a public key whose fingerprint is 4FF5 E1D0 D3E2 E50C 0BCB 39A0 31C9 9FD9 691B 79C3

To claim this, I am signing this object:

ibuildthecloud /
Last active Jul 10, 2016
Runv on RancherOS v0.5.0

Switch to ubuntu console

sudo ros console switch -f ubuntu

Install packages to build to runv

sudo apt-get update
ibuildthecloud / fix.sql
Last active Mar 15, 2016
Fix failed upgrade to v0.63.0
View fix.sql
TRUNCATE `process_execution`;
ALTER TABLE `process_execution` DROP `created`;
View something.patch
diff --git a/resources/content/schema/base/container.json b/resources/content/schema/base/container.json
index e1dcddd..65e482c 100644
--- a/resources/content/schema/base/container.json
+++ b/resources/content/schema/base/container.json
@@ -232,6 +232,10 @@
"nullable": false,
"default" : "0"
+ "myFoo" : {
+ "type" : "string",
ibuildthecloud / cloud-config.yml
Last active Dec 11, 2015
cloud-config w/ script
View cloud-config.yml
- path: /etc/rc.local
permissions: "0755"
owner: root
content: |
echo "I'm doing things on start"
touch /tmp/i-did-something
View system-service
# This indicates to run in system-docker as opposed to user docker.
# Comment if you want user docker.
io.rancher.os.scope: system
image: nginx
ibuildthecloud / yaml
Created Dec 1, 2015
cloud-config for rancher-agent
View yaml
- ssh-rsa AAAA...
privileged: true
- /var/run/docker.sock:/var/run/docker.sock
image: rancher/agent:v0.8.2
View bad ps
=== BEGIN goroutine stack dump ===
goroutine 7965 [running]:
/go/src/ +0xa5\ufffd\ufffd001(0x7f3abcd54268, 0xc20c7f17a0)
/go/src/ +0x35e
created by\ufffd\ufffd002
/go/src/ +0x13a
goroutine 1 [chan receive, 7 minutes]:
You can’t perform that action at this time.