https://prefect.io logo
g

Gridcellcoder

05/29/2020, 7:50 PM
Hi Team, how do I stop the prefect docker images
prefecthq/ui:0.11.2
prefecthq/apollo:0.11.2
etc from starting on boot. I.e uninstall?
j

josh

05/29/2020, 7:54 PM
Oh it looks like the restart policy on the docker compose is set to
always
🤔 we should make that configurable. In the meantime you should be able to run
docker-compose down
to stop and remove all of the containers
g

Gridcellcoder

05/29/2020, 8:00 PM
I installed it via pip, does this mean I have to clone the github repo?
it would be useful to have a
prefect server stop
but how can I stop these without cloning the repo?
1
j

josh

05/29/2020, 8:02 PM
I think just running
docker-compose down
will stop them and you don’t need to clone the repo
g

Gridcellcoder

05/29/2020, 8:02 PM
Copy code
docker-compose down
ERROR: 
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml
had to clone the repo and run it
prefect/server/docker$ docker-compose down
j

josh

05/29/2020, 8:04 PM
Ah so yes maybe you do need to clone the repo and run it. I just ran it and it worked but I was already in the repo 😅
Yeah we should also add a stop command so people don’t need the compose file 🙂
2
g

Gridcellcoder

05/29/2020, 8:06 PM
that would be nice 🙂
thanks