![]() Now that Portainer is installed it’s time to set it up. docker volume create portainer_dataĭocker run -d -p 8000:8000 -p 9443:9443 -name portainer -restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:latest As you can get 5 free installs of Portainer-s Business edition that’s the version I’ll be installing today. So, as this oracle instance is only going to run docker I’m only going to be installing Portainer rather than installing cockpit as well. Some people might think this is not needed but I prefer to use a graphical user interface when setting this up on my machines. $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/nullĪpt install docker-ce docker-ce-cli containerd.io docker-compose-plugin Follow the commands below to install the repo and docker too apt install ca-certificates curl gnupg lsb-releaseĬurl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpg sudo su -īefore we install docker we need to set up the repo. If you have also decided to go with ubuntu use the commands below to make sure your instance is us to date. (Just make sure to change the file path, username and IP address) ssh -i 2 – Update everything If you are using an Oracle Cloud Instance like myself you’ll need to you a command like the one below to access your instance. STEP 1 – Connect to Your Instance via SSH I’ll say it now in case anyone is tempted that the instance is only temporary for this tutorial and has already been deleted so don’t be surprised if it doesn’t work should you try to access it.Īs I’m starting from a fresh install of Ubuntu 20.04 Minimal on my Oracle Cloud Instance, I thought this might be the best place to start this tutorial of sorts. So I’ve set up a free Instance on my Oracle Cloud Account that I’m going to set up docker on, run a container then open a Cloudflare Tunnel so I can access it from the outside world without having to mess with port forwarding. Not only that I thought I’d write a short tutorial on getting Cloudflare Tunnels set up on Docker. I thought this was so amazing that I thought I’d share it with you. Tunnels are part of Cloudflare’s Zero Trust Platform and allow you to send web traffic to your home lab by creating a tunnel out from your server to Cloudflare and then they use their infrastructure and technical wizardry to allow access to your services without opening any ports on your modem. So after a few days of banging my head against a wall trawling through forums, I came across Cloudflare Tunnels. Turns out that TalkTalk’s Modem doesn’t allow you to open certain ports, which wouldn’t be a problem if I wasn’t running Nginx Proxy Manager to router tariff, requiring ports 80 & 443, and the 2 ports that TalkTalk have block being, you guessed it, 80 & 443. I just thought that I could open a few ports and Bobs your uncle. We recently changed our internet service provider from Vodafone to TalkTalk and one of the things I didn’t think about was accessing my home lab from outside the network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |