Comments (3)
Hello,
The hostname you have is basically your container name. You can set it to foo
by running this container with --name foo
option or to your real hostname by running it onto the host network with --net=host
.
The IPs you see are basically the IPs associated with your container/host IPs (if your container runs on the same network namespace). So in order:
- your loopback
- your docker host public IP
- your vtun IP
The RemoteAddr
is then machine private IP the request comes from through your tunnel I guess.
The rest of what you see is basically your request with the headers the requester set.
from whoami.
Many thanks,
QQ: sometime i only two IP address reported, how do I know which is which ?
Feature request: Are there any plans to add ‘where am I’ feature, so I can the geographical location of the public IP address I have when running it through a VPN?
from whoami.
You can set it to foo by running this container with --name foo option
I believe the correct key is --hostname
.
from whoami.
Related Issues (20)
- Name flag not working HOT 2
- Problem in the reading of the port parameter HOT 1
- [Suggestion] Add container ID HOT 6
- ERROR: no matching manifest for linux/arm/v7 in the manifest list entries HOT 2
- Why is there no "RemoteAddr" field in the "/api" interface? HOT 1
- Publish to ghcr.io as well as dockerhub HOT 2
- Cleanup the containous/whoami vs traefik/whoami HOT 3
- Add verbosity level HOT 1
- Add revDNS to access log HOT 1
- Add X-Forwarded-For to access log HOT 3
- Can not reproduce Traefik quick start. Getting http 503 error HOT 1
- Create a release and Docker Hub image for optional env query parameter HOT 1
- Default port is 8080 HOT 1
- Exposing httpOnly cookies and backend security headers HOT 3
- Support for HTTP/2.0 (h2c)?
- Support to display HTTP header before upgrading to websocket
- ---
- Print request headers HOT 2
- Base path setting HOT 1
- whoami stops after 10 minutes HOT 2
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 whoami.