Comments (6)
A simple
docker run -d -p 80:3000 "replaceTheNameOfTheImagesHere"
should do. Isn't it?
Please read: https://docs.docker.com/userguide/dockerlinks/
from docker-cheat-sheet.
and what if my graphite is running on port 80?
I used -p 8080:80 for graphite.
I want graphite to run port 3000 and grafana to 80.
Can you help me out for?
from docker-cheat-sheet.
Can you show your command, it is very difficult to know what you are talking about.
from docker-cheat-sheet.
Here is the process I did
First I run graphite
sudo docker run -d
--name graphite
-p 8080:80
-p 2003:2003
--restart="always"
-v /data/graphite/storage/whisper:/opt/graphite/storage/whisper
sitespeedio/graphite
Then Grafana
sudo docker run -d -p 3000:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana
My grafana is running on http://someipaddress:3000 but I want it to run on http://someipaddress
from docker-cheat-sheet.
sudo docker run -d -p 80:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana
from docker-cheat-sheet.
Holyshit it's working.
Thanks a ton :)
On Fri, Jun 19, 2015 at 6:21 PM, Julien Bisconti [email protected]
wrote:
sudo docker run -d -p 80:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana—
Reply to this email directly or view it on GitHub
#42 (comment)
.
from docker-cheat-sheet.
Related Issues (20)
- Regarding "(it's in PDF which makes it hard to use, so copying below)"
- Hello add this cheat sheet to awesome-cheatsheet
- Docker Swarm Command aka docker service [...] HOT 2
- Broken Links HOT 1
- Printing out cheat sheet HOT 7
- Fix Travis CI errors
- There's ad in Chinese `REAME.md` HOT 1
- multi-stage builds HOT 1
- Use releases HOT 1
- License? HOT 1
- bricked my linux box HOT 1
- Translations HOT 3
- Defective link HOT 4
- Invalidate links HOT 1
- Add gVisor HOT 1
- New docker CLI conventions
- Why do you say docker image ids are sensitive? HOT 2
- Exposing ports incorrect? HOT 3
- Validate Links HOT 3
- make it exportable in PDF, htm with versioning HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-cheat-sheet.