Solved: HTTP 404 when using CLI with Influx 1.8?

Trying to do a query against an open system (no user/password restriction):

❯ docker run influxdb:1.8 influx -host nas.fritz.box -type flux -database home -execute 'from(bucket: "evcc") |> range(start: -2d)'           
404 page not found
: 404 Not Found

Running the same query in Chronograf against that DB works fine and produces this URL in the browser console:

http://nas.fritz.box:8088/chronograf/v1/sources/1/proxy/flux?path=%2Fapi%2Fv2%2Fquery%3Forganization%3Ddefaultorgname

I’m stumped why the query always returns 404?

Solved using Flux not working with InfluxDB 1.8