Skip to content

Instantly share code, notes, and snippets.

@daniel-bytes
Created August 8, 2020 00:14
Show Gist options
  • Save daniel-bytes/0b61006c3acdedc675d0aa9747e165f4 to your computer and use it in GitHub Desktop.
Save daniel-bytes/0b61006c3acdedc675d0aa9747e165f4 to your computer and use it in GitHub Desktop.
docker run \
-v $(pwd):/hostpwd -v ~/.found-shell:/elastic_cloud_apps/shell/.found-shell \
--env SHELL_ZK_AUTH=$(docker exec -it frc-directors-director bash -c 'echo -n $FOUND_ZK_READWRITE') $(docker inspect -f '{{ range .HostConfig.ExtraHosts }} --add-host {{.}} {{ end }}' frc-directors-director) --rm -it $(docker inspect -f '{{ .Config.Image }}' frc-directors-director) \
/elastic_cloud_apps/shell/run-shell.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment