Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created October 13, 2020 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/f2a585143de970e0ef26ebcb07de1ac5 to your computer and use it in GitHub Desktop.
Save garystafford/f2a585143de970e0ef26ebcb07de1ac5 to your computer and use it in GitHub Desktop.
TIMESCALEDB_CONTAINER=$(docker ps -q \
--filter='name=iot_timescaledb.1' --format '{{.Names}}')
docker exec -it ${TIMESCALEDB_CONTAINER} psql \
-U postgres -h localhost -d demo_iot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment