Having problem in deploying openMTC on Ubuntu

I want to install openMTC on my Ubuntu system. I tried every method available online but at the end when I try to check whether it is installed or not by executing the command:

curl localhost:8000/onem2m

But everytime it displays an error saying:

curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused

I’ve installed it using these commands:

$ git clone https://github.com/openMTC/openMTC.git

$ cd openMTC

$ ./create-binary-docker gateway

$ ./create-binary-docker backend

$ ./create-binary-docker sdk

$ docker run -d –name gateway -p 0.0.0.0:8000:8000
-e “LOGGING_LEVEL=DEBUG” openmtc/gateway -vv

Can someone tell me why this error is coming?

Source: StackOverflow