Trying to import an RDF into a shuri docker-compose deployment. I checked that localhost:9080 is indeed accessible. My docker-compose file is pretty vanilla.
Command:
docker run dgraph/dgraph:shuri dgraph live -f export/dgraph.r10176.u0812.1442/g01.rdf.gz
Results:
[Decoder]: Using assembly version of decoder
I0821 02:31:28.998976 1 init.go:102]
Dgraph version : v20.07.0
Dgraph codename : shuri
<snip>
Running transaction with dgraph endpoint: 127.0.0.1:9080
I0821 02:31:28.999624 1 util_ee.go:126] KeyReader instantiated of type <nil>
While trying to setup connection: context deadline exceeded. Retrying...
2020/08/21 02:31:40 Could not setup connection after 1 retries
github.com/dgraph-io/dgraph/x.Fatalf
/ext-go/1/src/github.com/dgraph-io/dgraph/x/error.go:114
github.com/dgraph-io/dgraph/x.GetDgraphClient
/ext-go/1/src/github.com/dgraph-io/dgraph/x/x.go:856
github.com/dgraph-io/dgraph/dgraph/cmd/live.run
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/run.go:445
github.com/dgraph-io/dgraph/dgraph/cmd/live.init.0.func1
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/run.go:120
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/dgraph-io/dgraph/dgraph/cmd.Execute
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/root.go:70
main.main
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/main.go:78
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1373