Have anyone seen this error? ```byhsu@byhsu-ld1 ~/...
# ask-the-community
b
Have anyone seen this error?
Copy code
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
Copy code
byhsu@byhsu-ld1 ~/learn-repo/flyte-demo flyte āÆ docker --version
Docker version 18.09.9, build 039a7df9ba
My docker version
j
@Byron Hsu: that looks like an old docker version. is there a particular reason that you are running that version?
b
No. Which version should i install?
j
the latest, if you have no reason to pin to an older version.
18.09 is from 2019 šŸ˜…
b
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
checking
b
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
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
yeah probably
j
no see my link above
added to milestone 20.10
y
oh nice
b
what is dev mode?
j
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
without dev, everything is ran locally?
j
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
Copy code
byhsu@byhsu-ld1 ~ āÆ docker --version
Docker version 20.10.22, build 3a2c30b
yes that works
tysm! @jeev @Yee
161 Views