https://flyte.org logo
Title
b

Byron Hsu

01/16/2023, 6:30 AM
Have anyone seen this error?
byhsu@byhsu-ld1 ~/learn-repo/flyte-demo flyte āÆ ./bin/flytectl demo start
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags.
šŸ§‘ā€šŸ­ Bootstrapping a brand new flyte cluster... šŸ”Ø šŸ”§
šŸ‹ Going to use Flyte v1.3.0 release with image <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15>
šŸ‹ pulling docker image for release <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15>
šŸ§‘ā€šŸ­ booting Flyte-sandbox container
😬 Something went wrong: Failed to start Sandbox container šŸ‹, Please check your docker client and try again.
Error: Error response from daemon: invalid IP address in add-host: "host-gateway"
{"json":{},"level":"error","msg":"Error response from daemon: invalid IP address in add-host: \"host-gateway\"","ts":"2023-01-15T22:30:19-08:00"}
I checked out to
v0.6.25
and it works
byhsu@byhsu-ld1 ~/learn-repo/flyte-demo flyte āÆ docker --version
Docker version 18.09.9, build 039a7df9ba
My docker version
j

jeev

01/16/2023, 5:53 PM
@Byron Hsu: that looks like an old docker version. is there a particular reason that you are running that version?
b

Byron Hsu

01/16/2023, 5:54 PM
No. Which version should i install?
j

jeev

01/16/2023, 5:54 PM
the latest, if you have no reason to pin to an older version.
18.09 is from 2019 šŸ˜…
b

Byron Hsu

01/16/2023, 5:55 PM
From which version enables add-host hostgateway
Do you think it is better to specify the compatible docker version in the doc?
I can help do so
j

jeev

01/16/2023, 5:56 PM
checking
b

Byron Hsu

01/16/2023, 5:59 PM
Is this feature only for sandbox or also cluster mode
https://docs.flyte.org/en/latest/getting_started/index.html How about adding a ver requirement on this page
j

jeev

01/16/2023, 6:00 PM
this is only necessary for sandbox
@Yee: to increase compatibility, perhaps we can only add the extra host when sandbox is running in dev mode?
y

Yee

01/16/2023, 6:00 PM
yeah probably
j

jeev

01/16/2023, 6:01 PM
no see my link above
added to milestone 20.10
y

Yee

01/16/2023, 6:02 PM
oh nice
b

Byron Hsu

01/16/2023, 6:02 PM
what is dev mode?
j

jeev

01/16/2023, 6:04 PM
its a special mode in
flytectl demo
that allows you to run flyte components locally on your machine during development, but connect them to an ephemeral kubernetes cluster for running workloads, minio, postgres, etc.
b

Byron Hsu

01/16/2023, 6:05 PM
without dev, everything is ran locally?
j

jeev

01/16/2023, 6:07 PM
flytectl demo
runs on a local kubernetes cluster.
flytectl demo --dev
does pretty much the same thing, but requires that you run flyte locally outside the local kubernetes cluster. its mostly for flyte developers/contributors. docs to follow i believe
can you let us know if bumping your docker daemon fixes the issue?
b

Byron Hsu

01/16/2023, 6:08 PM
byhsu@byhsu-ld1 ~ āÆ docker --version
Docker version 20.10.22, build 3a2c30b
yes that works
tysm! @jeev @Yee