mradamlacey / elasticsearch-tableau-connector

Tableau Web Data Connector for Elasticsearch
MIT License
149 stars 64 forks source link

flags have to be provided to docker run before the tag is provided, not after #86

Open bh9 opened 3 years ago

bh9 commented 3 years ago

When calling docker run, the tag's position is important. Everything after the tag is interpreted as the command to be run in the container, so the tag must go after the flags, but before any command being run in the container. Here there is no command, so it should go last

ubuntu@bh9-elasticsearch-tableau-connector:~$ docker run elasticsearch-tableau-connector -p 3000:3000
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "-p": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled