Skip to main content

A python CLI for working with docker on OSX

Project description

Build Status License: MIT Code style: black GitHub Pipenv locked Python version

osxdocker

This is a small 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

Usage

# list available commands
osxdocker

# get log path
osxdocker log_path $some_container_name

# clear logs
osxdocker clear_log $some_container_name

Dev Install

pipenv install
pipenv run local_install
pipenv run osxdocker

Dev tools

I set this project up using https://github.com/takluyver/flit/

flit --repository testpypi 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

osxdocker-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page