Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robhaswell/powerstrip-restrict-image-user
A Powerstrip adapter to restrict Docker to manipulating images published by a given user.
https://github.com/robhaswell/powerstrip-restrict-image-user
Last synced: 19 days ago
JSON representation
A Powerstrip adapter to restrict Docker to manipulating images published by a given user.
- Host: GitHub
- URL: https://github.com/robhaswell/powerstrip-restrict-image-user
- Owner: robhaswell
- License: apache-2.0
- Created: 2015-01-29T14:37:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T17:47:47.000Z (about 10 years ago)
- Last Synced: 2023-03-24T07:43:40.852Z (almost 2 years ago)
- Language: Python
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# powerstrip-restrict-image-user
A Powerstrip adapter to restrict Docker to manipulating images published by a given user.By specifying a `USER` environment variable you can prevent Docker from running any images not provided by a specific user or organization.
## Usage
This image is available as `robhaswell/priu`.
It accepts one configuration envar, `USER`.
This can be any user, e.g. `robhaswell`, or `_` for official images.A typical Powerstrip configuration would look like:
version: 1
endpoints:
"POST /*/containers/create":
pre: [priu]
"POST /*/containers/*/start":
post: [priu]
adapters:
priu: http://priu/The adapter is started with:
docker run -d -e USER=someuser --name priu robhaswell/priu