Docker vs. Plesk, an alternative for running websites

Diese Seite gibt es auch in Deutsch

For years I ran my websites on a vServer from Hosteurope and managed them with the help of Plesk. Although Plesk has always served me well, especially when switching from one server to another, the environment on the new server was never the same and there was always something to rework, even if it was just installing all the necessary software packages.

Advantages of a vServer with Plesk

Admittedly, the user interface is already comfortable and especially for all those who just want to create a website without having to create the config in any text files, Plesk offers a nice interface: details to the underlying config are hardly necessary with Plesk. Numerous plugins simplify the administration, for example, a WordPress installation can be easily started via a wizard.

Disadvantages of a vServer

Websites running directly on a vServer all share the same environment: the same operating system version and the same installed packages. For example, a new PHP version is always tied to the OS and is only available in the package sources with some delay. New PHP versions are sometimes only available in Plesk after months in the software catalog. Since providers also release new Linux versions for their vServers only after months, this also applies to the OS version. At Hosteurope, it takes up to a year after the release of a new Ubuntu version until it is available as a vServer , see also: Provider change HostEurope vs Hetzner, vServer vs Cloud server). It's different without Plesk: Here, some providers offer the new OS relatively promptly also as a vServer or cloud server, corresponding without any adaptation. In addition, Plesk is subject to licensing and usually costs extra.

The alternative: Docker

Docker Basics

Docker allows applications to be launched by command in a so-called container.
A container is an isolated environment independent of the operating system (OS):
When a container is first launched, Docker independently loads all the necessary sources
from the internet.
Docker can be installed on Windows, macOS or an Linux Distribution
Having used Docker at home for a few years to run certain services (containers), I was able to gain some experience with it. Once set up, Docker can be used to quickly start a new service: Docker containers include all necessary dependencies and run absolutely stable. Not only is startup easier, but moving services to different hardware is also much more relaxed: All that needs to be done is to copy the corresponding folders and then restart the containers. No problems with missing updates, packages or other requirements. Even as a backup, a copy of the respective folders is sufficient to start them somewhere in case of failure.

Web server with Docker without Plesk

(Source: secure https connection: Traefik Reverse Proxy + Let's Encrypt).

I wanted to take advantage of Docker for running this website as well. Mainly to have to invest less time for the next server change. For a server change in the future I only have to synchronize all folders with rsync to the new server, start the Docker containersat the new server and adjust the DNS. The individual websites and their environment: PHP version, etc. can now be maintained independently of the server and its operating system.

My requirements for the web server are not large: I run several Laravel and PHP websites with and without SSL certificate. Since there is no mail server pre-installed on the server, I use Docker for this as well, see: docker-mailserver. The SSL certificates on the websites are taken care of by Traefik, see: secure https connection: Traefik Reverse Proxy + Let's Encrypt. As a backup I have all changed files copied to my NAS daily and as a DNS server I just use the service from the provider. The DNS records now point to the official IP address of the new cloud server and the actual websites and mail server run on isolated containers in the backend .

For more information on running Docker containers: see: topic/docker.

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Updated: 2022-08-10 von Bernhard 🔔


Top articles in this section


Nextcloud Server Docker | Setup + https: Let's Encrypt [ssl]
To synchronize contacts, appointments, and photos of my NAS, I tested Nextcloud and thus turned my back on other cloud providers for my private data. Thanks to Docker, the installation is easier and more flexible than ever, allowing Nextcloud to run on almost any hardware.

Running Bitwarden in Docker - Setup step by step
Bitwarden is a web-based password manager, similar to LastPass, but open source and the ability to run (host) it yourself. How Bitwarden compares to other password managers, I have considered on the following page: Password Managers Secure? KeePass vs LastPass vs Bitwarden. Bitwarden consists of several services, which can be provided via different containers. The relatively complex setup has been simplified with "Bitwarden Unified" especially for self-hosting by packing all services into one co...

Traefik: Forward traffic to another server
In preparation for moving my websites, I was looking for a way to simply forward all traffic from the old server to the new one.

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details