Coder Social home page Coder Social logo

Port 80 about docker-cheat-sheet HOT 6 CLOSED

akashnimare avatar akashnimare commented on July 23, 2024
Port 80

from docker-cheat-sheet.

Comments (6)

veggiemonk avatar veggiemonk commented on July 23, 2024

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.

akashnimare avatar akashnimare commented on July 23, 2024

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.

veggiemonk avatar veggiemonk commented on July 23, 2024

Can you show your command, it is very difficult to know what you are talking about.

from docker-cheat-sheet.

akashnimare avatar akashnimare commented on July 23, 2024

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.

veggiemonk avatar veggiemonk commented on July 23, 2024

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.

akashnimare avatar akashnimare commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.