Skip to content

Instantly share code, notes, and snippets.

@rsmitty
rsmitty / docker-compose.yml
Last active July 8, 2018 22:10
Setup Home Media
version: '2'
services:
plex:
network_mode: host
restart: always
image: plexinc/pms-docker
volumes:
- /home/rsmitty/plex-config:/config
- /mnt/external-disk:/data
environment:
@rsmitty
rsmitty / kube.md
Last active November 1, 2015 03:43
Workaround for Local Kubernetes Cluster (OS X)

##Install Kubernetes CLI Tools

  • Available via homebrew:
brew install kubernetes-cli

##Install Docker and Docker Machine locally

  • Easiest way to do this is with Docker Toolbox.
  • Link is here: https://www.docker.com/toolbox
  • Standard install should work fine and will detect and upgrade components if necessary (even virtualbox).
{
"builders": [
{
"type": "openstack",
"username": "admin",
"password": "testpass",
"provider": "http://192.168.1.200:5000/v2.0",
"ssh_username": "ubuntu",
"project": "admin",
"region": "RegionOne",
@rsmitty
rsmitty / gist:64a448a0595bcb790ed9
Created July 16, 2015 16:58
rancheros-install error
[rancher@rancher ~]$ sudo rancheros-install -c cloud-config.yml -d /dev/sda
No install type specified...defaulting to generic
All data will be wiped from this device
Partition: true
DEVICE: /dev/sda
Are you sure you want to continue? [yN]y+ DEVICE=/dev/sda
+ [[ -z /dev/sda ]]
++ wc -l
+++ cut -d / -f3
+++ echo /dev/sda