Skip to content

Instantly share code, notes, and snippets.

@Platypuschan
Platypuschan / enable-docker.sh
Created March 18, 2022 15:19 — forked from tprelog/enable-docker.sh
Use docker and docker-compose on TrueNAS SCALE without Kubernetes
#!/usr/bin/env bash
#
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes)
#
# This script is a hack! Use it at your own risk!!
# Using this script to enable Docker is NOT SUPPORTED by ix-systems!
# You CANNOT use SCALE Apps while using this script!
#
# 1 Create a dedicated Docker dataset in one of your zpools
@Platypuschan
Platypuschan / startmux.sh
Last active December 30, 2021 22:44
A small script to start a tmux session with 3 windows. 1 local shell, 2 ssh shell. shamelessy ripped off from todgru and modified to my needs https://gist.github.com/todgru/6224848
#!/bin/sh
#
# Setup a work space called `Cluster` with 3 windows
# First is a terminal on the controller
# Second is a ssh connection to the first node
# Third is a ssh connection to the second node
# shamelessy ripped off from todgru and modified to my needs
# https://gist.github.com/todgru/6224848
#
session="Cluster"