Comments (5)
I've also pushed a test tag :issue45-labels
if you want to test.
from docker-http-https-echo.
Exactly (or almost, minor change commented in PR), thanks a lot for your swift reply!
I've also pushed a test tag :issue45-labels if you want to test.
Currently the labels are not in the final build, as mentioned in the PR:
$ docker inspect mendhak/http-https-echo:issue45-labels --format '{{ .Config.Labels }}'
map[]
from docker-http-https-echo.
Ah thanks for that command. OK I pushed a different tag now,
docker pull mendhak/http-https-echo:labels
docker inspect lscr.io/linuxserver/transmission --format '{{ .Config.Labels }}'
And this is the output I get
map[org.opencontainers.image.description:Docker image that echoes request data as JSON; listens on HTTP/S, with various extra features, useful for debugging. org.opencontainers.image.documentation:https://github.com/mendhak/docker-http-https-echo/blob/master/README.md org.opencontainers.image.licenses:MIT org.opencontainers.image.source:https://github.com/mendhak/docker-http-https-echo org.opencontainers.image.title:http-https-echo org.opencontainers.image.url:https://github.com/mendhak/docker-http-https-echo]
Well it looks like a mapping of some sort. Looking better now?
from docker-http-https-echo.
Looks very good! You can add json
in the formatting string to get JSON:
$ docker inspect mendhak/http-https-echo:labels --format '{{json .Config.Labels }}' | jq
{
"org.opencontainers.image.description": "Docker image that echoes request data as JSON; listens on HTTP/S, with various extra features, useful for debugging.",
"org.opencontainers.image.documentation": "https://github.com/mendhak/docker-http-https-echo/blob/master/README.md",
"org.opencontainers.image.licenses": "MIT",
"org.opencontainers.image.source": "https://github.com/mendhak/docker-http-https-echo",
"org.opencontainers.image.title": "http-https-echo",
"org.opencontainers.image.url": "https://github.com/mendhak/docker-http-https-echo"
}
from docker-http-https-echo.
Thanks again for that. :27 is now in Docker Hub.
from docker-http-https-echo.
Related Issues (20)
- Not working on Openshift. HOT 5
- Use Github action as CI/CD HOT 1
- Custom response codes HOT 2
- Is there an ARM64 version of this image? HOT 5
- Force a request to sleep for a period of time HOT 3
- Please allow monetary contributions for this project HOT 1
- Consider adding an open source license? HOT 2
- Error for requests with gzip content encoding and json content type HOT 4
- Pass response status code via query string or path HOT 4
- Could this server accept http2? HOT 1
- Show details of incoming mTLS Authentication/Client Certificates HOT 3
- Update the version of node engine in package.json HOT 2
- Is it possible to view all env variables present in container HOT 2
- JSON log as single line HOT 2
- Provide alternate image registry to Docker Hub HOT 5
- EACCES: permission denied, open 'privkey.pem' HOT 2
- Expose prometheus/statsd metrics HOT 1
- Storing Requests and Presenting on a Dashboard HOT 2
- Option to change log format to JSON HOT 1
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-http-https-echo.