How to stop Taiga instance via Docker

613 views
Skip to first unread message

Ken West

unread,
Jun 4, 2021, 2:04:31 AM6/4/21
to taigaio
Hi

Sorry about my newbie question, but how do I stop taiga servers using Docker etc commands?

Scott Johnson

unread,
Jun 4, 2021, 10:19:43 AM6/4/21
to Ken West, taigaio
Hi Ken:

It's just another docker-compose command. I added a script to do this:

```
#!/bin/bash

set -x

exec docker-compose --env-file .env.prod -f docker-compose.yml down $@
```

Note that this assumes you have an `.env.prod` file that contains your environment variables. If you don't have that, you can simply remove the `--env-file` portion.

Hope this helps,

~Scott

On Fri, Jun 4, 2021 at 1:04 AM 'Ken West' via taigaio <tai...@googlegroups.com> wrote:
Hi

Sorry about my newbie question, but how do I stop taiga servers using Docker etc commands?

--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/d5894c32-17de-4295-b140-b76296e6295an%40googlegroups.com.

David Barragán

unread,
Jun 4, 2021, 10:29:42 AM6/4/21
to Scott Johnson, Ken West, taigaio
Be careful between stop and down commands

The docker-compose stop command will stop your containers, but it won't remove them. The docker-compose down command will stop your containers,
but it also removes the stopped containers as well as any networks that were created.

Use stop instead of down if you don't want to delete the containers
 

Best regards



--
Logo Kaleidos David Barragán Merino
Engineer & Co-founder 
kaleidos.net/FFF8E7
 


Este mensaje y sus archivos adjuntos van dirigidos exclusivamente a su destinatario, y pudiendo contener información confidencial sometida a secreto profesional, o cuya divulgación esté legalmente prohibida. Cualquier opinión en él contenida es exclusiva de su autor y no representa necesariamente la opinión de la empresa. Si ha recibido este mensaje por error, le rogamos nos lo comunique de forma inmediata por esta misma vía y proceda a su eliminación, así como a la de cualquier documento adjunto al mismo. El correo electrónico vía Internet no es seguro y no se puede garantizar que no haya errores ya que puede ser interceptado, modificado, perdido o destruido, o contener virus. Cualquier persona que se ponga en contacto con nosotros por correo electrónico se considerará que asume estos riesgos.

KALEIDOS OPEN SOURCE se reserva las acciones legales que le correspondan contra todo tercero que acceda de forma ilegítima al contenido de cualquier mensaje externo procedente del mismo.

INFORMACIÓN PROTECCIÓN DE DATOS. Responsable: KALEIDOS OPEN SOURCE (B86241973)

Le informamos que sus datos identificativos y los contenidos en los correos electrónicos y ficheros adjuntos pueden ser incorporados a nuestras bases de datos con la finalidad de mantener relaciones profesionales y/o comerciales y, que serán conservados mientras se mantenga la relación. Si lo desea, puede ejercer su derecho a acceder, rectificar y suprimir sus datos y demás reconocidos normativamente dirigiéndose al correo emisor o en los datos del responsable. Para información y consultas visite nuestra web  https://kaleidos.net

Scott Johnson

unread,
Jun 4, 2021, 10:41:44 AM6/4/21
to David Barragán, Ken West, taigaio
I did not know that. Thanks, David!

David Barragán

unread,
Jun 4, 2021, 10:55:53 AM6/4/21
to Scott Johnson, Ken West, taigaio
Yep, these are two confusing commands.

You are welcome, Scott.

Best regards

Ken West

unread,
Jun 4, 2021, 10:20:11 PM6/4/21
to David Barragán, Scott Johnson, taigaio
Thanks David and Scott for your help!

 

Ken West National Digital Manager

T: 02 9251 1166 | M: 0411 446 776
E: ken....@citybibleforum.org | W: citybibleforum.org

Moran House, Level 3, 13-15 Bridge Street, Sydney NSW 2000



Reply all
Reply to author
Forward
0 new messages