Hacker News new | ask | show | jobs
by pratyushmittal 1925 days ago
Hey, I too don't want to use Docker, but I find no alternative.

I use docker-compose to get these running: memcache, MySQL, NGINX and postfix

I tried other things: - Ansible: very slow and requires lot of config files - Bash scripts: requires lot of build steps in a language I don't really like - Fabric: good as the scripts are more pythonic, but still requires manual installation of all services

The good thing about Docker is its caching mechanism. It builds the containers only if there are any changes. What are other (containerless) solutions for that?

3 comments

Postfix is really hard to run in container. Add rspamd, opendkim, opendmarc and I would just run them in their dedicated vm then.
Panubo has a pretty good postfix images for Docker. It handles most of the stuff:

https://hub.docker.com/r/panubo/postfix/

Source: https://github.com/panubo/docker-postfix

You accept that these are benefits, so why don't you want to use Docker?
Running where though? Locally? If not, why use Memcahed or Nginx?
Nah, running on production.

For local I don't use Docker.

But there’s almost no point in running Memcached and Nginx on the same machine.