wojte4k
(Wojte4k)
February 7, 2024, 2:09pm
1
Hello Gentlemen,
When I type “docker-compose up -d” the following errors pop up. I have no idea how to solve this I am using the latest version of ubuntu, docker, apparmor. I don’t know what to do please help.
I reinstalled apparmor because that’s what I read on other forums but it still doesn’t do anything…
I have never worked in a vps environment, I am completely unfamiliar with it. I took the guide from this link on github.
# Selfhosting Portaler
**Disclaimer:** This guide was written by a hardware/operations engineer with limited Linux experience and not by the developer of Portaler.
Most likely there are better ways to self-host Portaler but this is what i use. I am not responsible for any damage you do to your system while following this guide.
I tried my best to make this guide as newbie-friendly as possible so it should work even for people with basically no Linux experience.
In case you'll encounter an error during installation you can usually google it and find a fix without any problems. Asking on the discord server works too.
**There is also a [WIP containerized version](https://github.com/Logoffski/portaler-core/tree/docker_test/docker) that is much easier to deploy, but it is somewhat finicky and doesn't leave much room for error. If you have a good understanding on how selfhosting works you can try it instead.**
## Requirements
**If you want to use Portaler locally on your PC**: Any kind of Linux VM on your network where you have root privileges and can access the terminal. The simplest solution is using something like VirtualBox (google how to do that, it is easy)
**If you want to use Portaler publicly (host)**: Same as using it locally but you will also need a public routable(preferably static) ip-address and a domain name you own. You can (and probably should) also use a VPS instead of a VM on your PC for that.
I am using **Debian 9** as my OS. If you use some other Linux distro you will need to google how to install all the packages by yourself, but otherwise that should not be a problem.
## Steps for both local and public versions
This file has been truncated. show original
Have a nice day.