Closed duansheli closed 2 years ago
test on other system is ok
I'm not able to reproduce any issue with running it. You might try checking the logs and seeing what that shows
$ docker run -d --name elasticsearch --net somenetwork -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.14.1
Unable to find image 'elasticsearch:7.14.1' locally
7.14.1: Pulling from library/elasticsearch
7a0437f04f83: Pull complete
676f9b0455ba: Pull complete
b2883bec0e71: Pull complete
4da0c921bd93: Pull complete
006b83acd4d9: Pull complete
fc7d661103bf: Pull complete
351a057c286e: Pull complete
Digest: sha256:80bc3fe9d3ab2da410abadc2245eb5833c7ef7bb58ce2d89b24dabfb8c3d5233
Status: Downloaded newer image for elasticsearch:7.14.1
db2d0d9bd084fcb9e6724afd1c94be657a0c4d47b8df29d10dc11aeac643c296
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
db2d0d9bd084 elasticsearch:7.14.1 "/bin/tini -- /usr/l…" About a minute ago Up About a minute 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp elasticsearch
Going to close assuming this is resolved. If you need further help you can also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. As these repos aren't really a user-help forum
problem
env