No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file quayside-0.1.post1-py3-none-any.whl
.
File metadata
- Download URL: quayside-0.1.post1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8221f2444d1ccda4c1e15441cb8293cc9e50953e5d441e75146d34e2d2be421e |
|
MD5 | b2835f03277743672f35c0def68707e2 |
|
BLAKE2b-256 | 3ffbede37adb38108e57c8367874bc2669d80959e2ed7533e02321a73d38163c |