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


Running Docker Mailserver yourself | a field report
With the help of a suitable Docker image, it is relatively easy to run a mail server yourself. I originally used the integrated mail server of the Host Europe vServer (Plesk) and came across a very simple Docker container while looking for a replacement. The lightweight container provides a mail server without a graphical management interface, but can be managed with a few simple commands. Any email client can be used to send and receive the mails, for this POP3 or IMAP is offered for receiving...

Nextcloud SSL - letsencrypt https | Docker
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.

Nginx-LetsEncrypt reverse proxy in practice
In addition to Traefk, the Nginx Proxy Automation project can be used to run multiple web services with corresponding SSL certificates on one server . The setup involves several Docker containers that together provide an Nginx reverse proxy including certificate management and SSL offloading. Once the containers are started via Docker Compose, they take care of serving multiple websites over a common IP and its certificate management: for issuing certificates for new containers and renewing the...

Questions / Comments


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