GithubHelp home page GithubHelp logo

leogr / docker-authz-plugin Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 19 KB

Docker Authz Plugin template

License: MIT License

Dockerfile 12.02% Makefile 44.92% Go 43.05%
docker-authz-plugin docker-plugin template

docker-authz-plugin's People

Contributors

leogr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

efortin

docker-authz-plugin's Issues

Plugin does not install

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!

Logging

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

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.