dockerfiles-windows
dockerfiles-windows copied to clipboard
'\".\bin\elasticsearch.bat\"' is not recognized as an internal or external command, operable program or batch file.
The command
docker container run -p 9200:9200 -p 9300:9300 --name elasticsearch sixeyed/elasticsearch:latest
fails with error
'".\bin\elasticsearch.bat"' is not recognized as an internal or external command, operable program or batch file.
workaround:
docker container run -p 9200:9200 -p 9300:9300 --name elasticsearch --memory 2G sixeyed/elasticsearch:latest .\bin\elasticsearch.bat
Windows 10 pro Version 1903 OS build 18362.535
Docker Desktop 2.1.0.5(40693) Engine: 19.03.5
PSVersion 5.1.18362.145