In my previous post, I showed how to upgrade from Portainer 1.24.1 to Portainer 2.0. The problem that a lot of people have with 2.0 is that they’ve removed the ability to use application templates natively. In this post I’m going to show a few ways to continue to use application templates until 2.0 is able to use them again.
The first method we’re going to look at is using a Docker application called Taisun. It’s super easy to setup and it gives up dozens of applications that we can install with just a couple of clicks.
In order to install Taisun, just copy the following code into a new Portainer stack:
If you already have something running on port 3000, then change it to something else like this:
ports: - 3001:3000
Once you have that, you can click “Deploy the Container” and wait for it to deploy. Then go to http://your-server-address:3000 and you should see Taisun up and running. From there, y0u can install any of the available applications.
Yacht is currently in pre-alpha stage, so be aware of that. I don’t suggest using it on a production server as of the time of writing this blog post (Sept 1, 2020). While I don’t currently recommend using it on a production server, I’m sharing it so you can follow the progress of the development of the system.
Ultimately, Yacht is similar to Taisun in that it allows you to install applications from a single dashboard. What Yacht does better, one of the things anyway, is that it allows you to add as many .json templates to the system as you like so you can grow your application library any way you see fit.
Yacht can be installed quickly and easily by running 2 commands in an SSH windows:
docker volume create yacht docker run -d -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock -v yacht:/config selfhostedpro/yacht:vue
The developer of Yacht asked me to make sure you use the :vue tag in the docker run command as shown above as it is the most stable currently.
If you’re installing this to run alongside Portainer, you’ll most likely need to change port 8000 to something else to keep it from conflicting with Portainer.
Once you’ve run both commands, you should be able to go to http://your-server-address:8001 (or whatever you set the port to) and login. Per the Yacht Docker page:
The default login is email@example.com and pass you should change this immediately by clicking on admin in the top right and then “User” then select “Change Password” in the top menu. You can also change your username using this field.
When you’ve got that sorted, you can go to the sidebar, add a new .json template and then start installing applications.
I’m deliberately leaving the process of doing that vague as I don’t want to get too far ahead of the developers, so be sure to check their Docker page to follow their guidelines for installing.
Join the Yacht Discord Server: https://discord.gg/srRUF5S
Downgrading to 1.24.x
The other option you have at the time of writing this post is to simply go back to using Portainer version 1.24.x. (x represents whatever the current version of 1.24 happens to be)
You can do this by running a few simple commands.
To remove Portainer 2.0, type the following commands into your server’s SSH window:
docker stop portainer
docker rm portainer
Once you’ve removed Portainer, you can run the following commands to get version 1.24.x running:
docker volume create portainer_data
docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
That’s all there is to downgrading to Portainer 1.24.x. Now you’ve got a few options on how to continue to use application templates!
If you’re interested in other tutorials for your home server, check here: https://dbtechreviews.com/category/openmediavault/
Like what I do? Want to be generous and help support my channel?
Here are some ways to support:
Remember to leave a like on this video and subscribe if you want to see more!
Sumber: DB Tech