stackstash

Apache HTTP Server vs Docker

Apache HTTP Server and Docker are free.

The open-source web server "chef" that takes requests from a browser and serves up the website's files.

Try it

Pros of Apache HTTP Server

  • Available on almost every VPS and shared host.

  • The config is plain text you can search.

  • No account with a cloud vendor required.

Cons of Apache HTTP Server

  • You patch and configure the server yourself.

  • A default install is easy to leave too open.

  • Not always as reliable as

    Nginx logo: Open-source web server, reverse proxy, and load balancer used in front of most production apps.
    Nginx.

Docker logo: Package apps into containers so they run the same on your laptop and on a server.
Docker logo: Package apps into containers so they run the same on your laptop and on a server.

Docker

Free

Package apps into containers so they run the same on your laptop and on a server.

Try it

Pros of Docker

  • Same environment everywhere

  • Huge ecosystem and docs

  • Easy to ship Node, Python, and more

  • Pairs well with Nginx and VPS hosts

Cons of Docker

  • Desktop licensing for large companies

  • Learning curve for networking and volumes

  • Can be heavy on smaller machines