Permission denied when docker run

I docker pulled elasticsearch:7.7.0 successfully, but when I attempt to docker run it I get "/bin/bash: /usr/local/bin/docker-entrypoint.sh: Permission denied"

the /usr/local/bin folder is empty!

Any ideas what I am doing wrong?

OS: Ubuntu 18.04.4 LTS

docker pull docker.elastic.co/elasticsearch/elasticsearch:7.7.0

7.7.0: Pulling from elasticsearch/elasticsearch
86dbb57a3083: Pull complete
2b5d7fba0568: Pull complete
441e4ff55d6b: Pull complete
d5bae169186d: Pull complete
0bd94a0e499c: Pull complete
0459ad1587bf: Pull complete
1ccf419e016d: Pull complete
4cc72f3ea33a: Pull complete
74d1ead8433b: Pull complete
Digest: sha256:b4ec018c974d23a796b1d17ddec3863e4e6deff76d25f58027c45b7a697089dc
Status: Downloaded newer image for docker.elastic.co/elasticsearch/elasticsearch:7.7.0

docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.7.0

/bin/bash: /usr/local/bin/docker-entrypoint.sh: Permission denied

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.