Skip to content

Instantly share code, notes, and snippets.

@kwvg
kwvg / wipe.sh
Last active May 29, 2022 17:47
Program complete uninstallation script
#!/usr/bin/env bash
remove() {
entry="$1"
echo -ne "Removing $entry ["
sudo rm -rf "$entry"
if [[ ! -e "$entry" ]]; then
echo -ne "OK"
else
echo -ne "FAILED"
@kwvg
kwvg / docker-osx-shared-folders.rst
Created August 12, 2021 15:06 — forked from codeinthehole/docker-osx-shared-folders.rst
How to share folders with docker containers on OSX

How to share a folder with a docker container on OSX

Mounting shared folders between OSX and the docker container is tricky due to the intermediate boot2docker VM. You can't use the usual docker -v option as the docker server knows nothing about the OSX filesystem - it can only mount folders from the boot2docker filesystem. Fortunately, you can work around this using SSHFS.