https://rancher.com/ logo
Title
b

brash-train-33431

06/20/2022, 11:05 PM
Hi everyone! I'm trying to run the command
nerdctl run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v elast_data:/usr/share/elasticsearch/data elasticsearch:6.6.0
or
nerdctl pull elasticsearch:6.6.0
on my macOS but i am getting the following error
FATA[0001] no match for platform in manifest: not found
I believe it is something regarding the architecture definition that is not ARM or x64. I am not sure. when I try to run the command with the flag
--all-platforms
it works but it doesn't work for me
nerdctl pull elasticsearch:6.6.0 --all-platforms
f

fast-garage-66093

06/21/2022, 12:21 AM
I don't know; it works fine for me on an Intel Mac:
nerdctl pull elasticsearch:6.6.0
Not sure if you are on M1 or Intel. Do you have problems pulling other images as well, or just this one?
p

proud-jewelry-46860

06/21/2022, 12:23 AM
https://hub.docker.com/_/elasticsearch?tab=tags&page=1&name=6.6.0 says it's last pushed 3 years ago and only has an
amd64
image. So I'm going to guess you're on M1…
I assume you have some reason to use that particular version; the newest (8.2.3, pushed 5 days ago) seems to have
arm64/v8
too.
b

brash-train-33431

06/21/2022, 12:34 PM
ssds
so guys... I didn't get it by the command that I started the thread but I got it by the command below putting the url of the image. so i believe it is something with regard to dockerhub registry or am i wrong?
% nerdctl run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v elast_data:/usr/share/elasticsearch/data <http://docker.elastic.co/elasticsearch/elasticsearch:6.0.0|docker.elastic.co/elasticsearch/elasticsearch:6.0.0>
with a newer version I was also able to upload the container?
nerdctl run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v elast_data:/usr/share/elasticsearch/data elasticsearch:7.17.4
p

proud-jewelry-46860

06/21/2022, 4:41 PM
So you'll need to use elasic version 7 or higher for arm64 support