SHARE
TWEET

Untitled

a guest May 22nd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. echo 'checking for grafana container'
  3. #CONTAINER_NAME = 'grafana'
  4. if [!"(docker ps -q -f name =grafana)" ]; then
  5.     echo 'The container exists'
  6.   else
  7.       docker volume create grafana-storage
  8.       docker run -d -p 3000:3000 --name=grafana -v grafana-storage:/var/lib/grafana grafana/grafana
  9. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top