Skip to content

Instantly share code, notes, and snippets.

@jonathanhood
Created April 29, 2016 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanhood/5c1de4aece37d7686748c26574f340e3 to your computer and use it in GitHub Desktop.
Save jonathanhood/5c1de4aece37d7686748c26574f340e3 to your computer and use it in GitHub Desktop.
Add labels to a pushed docker image. These can be viewed in a registry viewer.
FROM nginx
LABEL source="https://github.com/kwk/docker-registry-frontend"
RUN echo "<h1>What's up, Docker?</h1>" > /usr/share/nginx/html/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment