

Printf '\nDocker Compose installed successfully\n\n' Sudo wget -output-document=/etc/bash_completion.d/docker-compose "$(docker-compose version -short)/contrib/completion/bash/docker-compose" Sudo chmod +x /usr/local/bin/docker-compose Sudo wget -output-document=/usr/local/bin/docker-compose "$(wget -quiet -output-document=- | grep -perl-regexp -only-matching '"tag_name": "\K.*?(?=")')/run.sh" Printf 'Waiting for Docker to start.\n\n' Printf '\nDocker installed successfully\n\n' Sudo usermod -append -groups docker "$USER" Sudo apt -yes -no-install-recommends install docker-ce docker-ce-cli containerd.io Sudo add-apt-repository -yes "deb $(lsb_release -codename -short) stable"

Wget -quiet -output-document=- | sudo apt-key add. Sudo apt -yes -no-install-recommends install apt-transport-https ca-certificates Sudo apt remove -yes docker docker-engine docker.io containerd runc || true I don't install docker and docker compose in my "template" CT, but i do create a script that will install them if i need: #!/bin/sh

Now, to install docker an docker compose you can follow any of the guides over the web. Start it up, and update it (apt update & apt dist-upgrade -y) In the options make sure it's not starting automatically. Set it with a SMALL partition (8gb) and very little ram (512gb), and 1 core.Īfter it's done, assign a IP of your network that should never be in use, like 192.168.1.252 or 253. What Is SelfHosted, As it pertains to this subreddit?Ĭreate a CT, with a very high number, like 999. Also include hints and tips for less technical readers.

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Service: Blogger - Alternative: WordPress Service: Google Reader - Alternative: Tiny Tiny RSS Service: Dropbox - Alternative: Nextcloud While you're here, please Read This FirstĪ place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
