a guest May 22nd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- echo 'checking for grafana container'
- #CONTAINER_NAME = 'grafana'
- if [!"(docker ps -q -f name =grafana)" ]; then
- echo 'The container exists'
- docker volume create grafana-storage
- docker run -d -p 3000:3000 --name=grafana -v grafana-storage:/var/lib/grafana grafana/grafana
RAW Paste Data