Skip to content

Instantly share code, notes, and snippets.

@dixsonhuie
Last active November 26, 2024 15:51
Show Gist options
  • Save dixsonhuie/26aad7361dadae953900a88f886ecfd1 to your computer and use it in GitHub Desktop.
Save dixsonhuie/26aad7361dadae953900a88f886ecfd1 to your computer and use it in GitHub Desktop.
docker
docker container inspect influxdbV1 | grep IPAddress
- influxdbV1 is the name of the docker instance
docker run -d -p 3000:3000 --name=grafana \
--user "$(id -u)" \
--volume "$PWD/docker-data:/var/lib/grafana" \
grafana/grafana-oss
See: https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/
influxdb 1.8 on Docker
sudo docker pull influxdb:1.8
sudo docker run -d --name=influxdbV1 -p 8086:8086 -v $PWD/influxdb:/var/lib/influxdb influxdb:1.8
sudo docker exec -it influxdbV1 influx
# in interactive session
create database mydb
show databases
exit
See: https://medium.com/@techworldthink/how-to-install-influxdb-v1-using-docker-on-ubuntu-a-step-by-step-guide-0d721f2a3caf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment