quayside
Docker is awesome. And a very handy use case of Docker is that it allows to wrap commands that are somewhat difficult to set up in a container that comes with all the dependencies pre-configured. This approach however, comes with the downside that calling Docker is usually a bit more complicated that just calling a local command.
This is where quayside comes in. The goal of this app is to provide a simple wrapper for a limited but very repetitive use case.
Example usage
An example of a tool, that is offered as a container is sslyze.
A common call would look like this:
docker run --rm -v "$(pwd):/data/" nablac0d3/sslyze:5.0.0 www.google.com --json_out /data/result.json
To do the same via quayside we need to define sslyze in the quayside configuration. Quayside is searching for its configuration at the following locations:
./quayside.yaml~/.quayside.yaml
sslyze:
container: nablac0d3/sslyze:5.0.0
cwd: /data/
mapped_arguments:
cwd:
- "--json_out"
- "--targets_in"
- "--cert"
- "--key"
- "--keyform"
- "--pass"
Now we can call sslyze like this:
quayside sslyze --json_out=result.json www.google.com
The current working directory is automatically mounted at /data/ and paths that are passed to one of the mapped arguments are interpreted relative to that folder.
Metadata
Release files for quayside 0.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quayside-0.1.post1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / quayside-0.1.post1-py3-none-any.whl
| Download URL | quayside-0.1.post1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8221f2444d1ccda4c1e15441cb8293cc9e50953e5d441e75146d34e2d2be421e
|
|
BLAKE2b-256 checksum How to use checksums |
3ffbede37adb38108e57c8367874bc2669d80959e2ed7533e02321a73d38163c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.2
|