Docker Community Forums

I have a program running inside a docker container and I expose the port 8888. However, when I try to connect the program from a device (in the same LAN as host machine but not the host machine) it failed.
Here is my docker file

FROM golang:1.10.1

…

RUN go build -buildmode=plugin -o plugin.so plugin.go

EXPOSE 8666:8888

And I start the container with

docker run -it -P --network host plugin:v0.3 bash

and run

go run program.go

in bash.
It says

2018/07/30 01:51:43 listening port 8888

But I cannot connect to the port from other device(which is in the same LAN as host machine but not the host machine)

then I tried

docker ps -a

It looks different in that the ports column are empty(Usually there should be a mapping?)