lava / dockermail

Ready-to-use email server + (optional) web mail + (optional) caldav, carddav and a kitchen sink in a docker container
MIT License
301 stars 59 forks source link

Remove old containers before run #25

Closed Kiina closed 8 years ago

Kiina commented 8 years ago

I gave the containers a name and try to stop and remove them before run. Not as great as docker-compose but atleast you don't have to stop it everytime.

lava commented 8 years ago

Hi, very nice idea. But lets make a bit more readable by not cramming everything into a single line, like this:

-docker stop dockermail-dovecot
-docker rm dockermail-dovecot
docker run -d -p 0.0.0.0:25:25 -p 0.0.0.0:587:587 -p 0.0.0.0:143:143 --name dockermail-dovecot -v /srv/vmail:/srv/vmail dovecot:2.1.7
Kiina commented 8 years ago

Done, i'm not to familiar with make files, so I did it in one line first.

lava commented 8 years ago

Few people are ;) Thanks for contributing!