A CLI for working with docker on OSX
Project description
osxdocker
A CLI for working with docker on OSX
Currently it only handles docker logs, because I found it annoying starting up a screen session to get to the docker vm every time I wanted to clear logs. See: https://stackoverflow.com/questions/42527291/clear-logs-in-native-docker-on-mac
Install
pip install osxdocker
Usage
# clear logs
osxdocker clear_log $some_container_name
# get log path
osxdocker log_path $some_container_name
# list available commands
osxdocker
Dev Install
# install dev dependencies, install package as symlink to avoid reinstall whenever code changes
pipenv install
pipenv run local_install
pipenv run osxdocker # only runs from pipenv in dev
# install from test pypi, allow pull from non-test pypi for fire
pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple osxdocker
Dev tools
I set this project up using https://github.com/takluyver/flit/
# build dist
pipenv run flit build
# publish to test pypi
pipenv run publish_test
# really publish
pipenv run publish
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osxdocker-0.0.2.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for osxdocker-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ceba57e2cc42af2b21701d9e75d1cb6dff80df11cc7bca16035e4afc5730c4d |
|
MD5 | a60f00f4a0274c62eff9439d33223981 |
|
BLAKE2b-256 | 2a8ee0f9ea1cc5890d5adf971761bba43319e0c4835bd368dbfca0f94e96a907 |