leogr / docker-authz-plugin Goto Github PK
View Code? Open in Web Editor NEWDocker Authz Plugin template
License: MIT License
Docker Authz Plugin template
License: MIT License
Hi,
Thanks for this repo, it has been very helpful in making plugins a bit easier to understand! Unfortunately, the plugin does not seem to install as expected. I followed the readme, and everything went as expected until the step make install
. I get the following error message:
$ make install
docker plugin install stuartthomson/docker-authz-plugin:dev
Error response from daemon: pull access denied for stuartthomson/docker-authz-plugin, repository does not exist or may require 'docker login': denied: requested access to
the resource is denied
make: *** [Makefile:31: install] Error 1
The plugin does seem to be created correctly:
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
1c20ec293825 stuartthomson/docker-authz-plugin:dev Authorization plugin for Docker false
17e84a36c7a5 vieux/sshfs:latest sshFS plugin for Docker true
Have you got any idea why this might be happening? I'm running this on Windows 10, Docker version 19.03.8, build afacb8b
Thanks!
If I place some logging into the authorization functions I cannot find anything in the docker logs does anyone know how?
for example:
func (p *plugin) AuthZRes(req authorization.Request) authorization.Response {
fmt.Printf("***** Received AuthZRes %+v\n", req)
return authorization.Response{Allow: true}
}
Following how to access logs in https://docs.docker.com/docker-for-mac/troubleshoot/ I can see all sorts of events regarding container startup but nothing that I have added to the plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.