Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.