Skip to content

Instantly share code, notes, and snippets.

@SeanSobey
SeanSobey / portainer.md
Last active June 12, 2024 07:40
Portainer Setup on Windows 10

Portainer on Windows 10

Here I have 2 methods for running portainer on windows, a quick, preferred method only requiring a fairly recent version of docker, or a more complicated method to try if that does not work.

Using host.docker.internal

This setup will let you run Portainer on windows by using the host.docker.internal endpoint (docker.for.win.localhost is depricated since docker version 3.2.1, but older versions may use this instead).

Please note:

@fnordfish
fnordfish / SpotifyStartup.app
Last active March 5, 2021 07:53
Run Spotify cache in a RamDisk. Handles quiting and unmounting.
property LookTime : 10 -- interval to check process
property RamDiskSizeMB : 128 -- size of the Ramdisk in MB
on mount()
do shell script "diskutil erasevolume HFS+ 'SpotifyRamDisk' `hdiutil attach -nomount ram://" & (RamDiskSizeMB * 2048) & "`"
end mount
on link()
do shell script "ln -fs '/Volumes/SpotifyRamDisk' ~/Library/Caches/com.spotify.client"
end link