[Koha-devel] Starting/stopping koha-testing-docker

Jonathan Druart jonathan.druart at bugs.koha-community.org
Tue Feb 11 11:41:12 CET 2020


David,

I think what you want is do_all_you_can_do.pl (from koha-misc4dev) to
stop if populate_db.pl die with "DB not empty"

Cheers,
Jonathan

Le jeu. 6 févr. 2020 à 06:15, <dcook at prosentient.com.au> a écrit :
>
> Hi all,
>
>
>
> Is there a trick for stopping and starting koha-testing-docker, when using docker-compose, so that you can re-use the same containers?
>
>
>
> I stop/start containers all the time on other projects, and I swear that Tomas told me how to do it with koha-testing-docker, but koha_koha_1 keeps crashing with “User kohadev-koha already exists” after I try to start it after stopping it, as it’s trying to run /kohadevbox/run.sh. Perhaps /kohadevbox/run.sh should have a test where it only tries to do setup if it hasn’t already setup the container environment.
>
>
>
> David Cook
>
> Systems Librarian
>
> Prosentient Systems
>
> 72/330 Wattle St
>
> Ultimo, NSW 2007
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Direct: 02 8005 0595
>
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list