Matthew Blau12/29/2020, 1:23 PM
Adam Roderick12/29/2020, 1:27 PM
Matthew Blau12/29/2020, 1:30 PM
Adam Roderick12/29/2020, 2:04 PM
Matthew Blau12/29/2020, 2:05 PM
Adam Roderick12/29/2020, 2:06 PM
Matthew Blau12/29/2020, 2:07 PM
Could you advise?
mblau@mblau-VirtualBox:~/docker_prefect$ docker -it run prefecthq/prefect:latest tini (tini version 0.18.0) Usage: tini [OPTIONS] PROGRAM -- [ARGS] | --version Execute a program under the supervision of a valid init process (tini) Command line options: --version: Show version and exit. -h: Show this help message and exit. -s: Register as a process subreaper (requires Linux >= 3.4). -p SIGNAL: Trigger SIGNAL when parent dies, e.g. "-p SIGKILL". -v: Generate more verbose output. Repeat up to 3 times. -w: Print a warning when processes are getting reaped. -g: Send signals to the child's process group. -e EXIT_CODE: Remap EXIT_CODE (from 0 to 255) to 0. -l: Show license and exit. Environment variables: TINI_SUBREAPER: Register as a process subreaper (requires Linux >= 3.4). TINI_VERBOSITY: Set the verbosity level (default: 1). TINI_KILL_PROCESS_GROUP: Send signals to the child's process group.
Jim Crist-Harif12/29/2020, 3:01 PM
we'll want to update those docs, thanks for pointing that out.
docker run -it --rm prefecthq/prefect:latest /usr/bin/env bash
Matthew Blau12/29/2020, 3:16 PM
Jim Crist-Harif12/29/2020, 3:19 PM
Matthew Blau12/29/2020, 3:22 PM
Jim Crist-Harif12/29/2020, 3:23 PM
image is for running flows, not prefect server (that's a separate set of images).
Matthew Blau12/29/2020, 3:27 PM
Jim Crist-Harif12/29/2020, 3:29 PM
backed setup for deploying it as a set of docker containers by running
. This requires a local install of
prefect server start
to run the initial command, but the actual server services run inside several docker containers in your environment.
Matthew Blau12/29/2020, 3:32 PM
Jim Crist-Harif12/29/2020, 3:33 PM
Matthew Blau12/29/2020, 3:42 PM
Jim Crist-Harif12/29/2020, 3:49 PM
Matthew Blau12/29/2020, 3:52 PM
Jim Crist-Harif12/29/2020, 3:54 PM
Matthew Blau12/29/2020, 6:42 PM
has a whole bunch of logging information in the terminal, is there a best practices deployment strategy that allows for us to hide that away like we would pipe other things to dev/null so that it can continue to run without being in the foreground? Any docs that you can point me to?
prefect server start
Jim Crist-Harif12/29/2020, 6:43 PM
should start all your services as docker containers, then return with them running in the background. You can do
prefect server start -d
later to stop everything. This requires prefect 0.14.1, which was just released today.
prefect server stop
Matthew Blau12/29/2020, 6:49 PM
so I can configure persistence as well?
prefect server start -d --use-volume
Jim Crist-Harif12/29/2020, 6:51 PM
it will pull down and install the latest version, correct?I'm not familiar with pipenv, but most tools for installing python libraries install the latest versions by default. You can check your version of prefect with
. And yes, the above command should work fine.
Matthew Blau12/29/2020, 7:45 PM
Jim Crist-Harif12/29/2020, 7:46 PM