Coder Social home page Coder Social logo

luigimassa / ulauncher-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brpaz/ulauncher-docker

0.0 0.0 0.0 1.77 MB

Manage your Docker containers from Ulauncher

Home Page: https://ext.ulauncher.io/-/github-brpaz-ulauncher-docker

License: MIT License

Makefile 4.87% Python 95.13%

ulauncher-docker's Introduction

ulauncher-docker

Ulauncher Extension CircleCI License

Manage your Docker containers from Ulauncher

Demo

Demo

Features

  • Lists all running Docker containers
  • Display container name, image, ip and exposed ports.
  • Allow executing common actions on containers like tailing logs, open a shell, start, stop and restart.
  • And more

Requirements

  • Ulauncher 5
  • Python >= 3
  • Docker daemon running on your machine

This extension also needs docker-py <= 3.7.2 and argparse Python packages.

You can install them in one command using: pip3 install argparse docker==3.7.2

NOTE: Installing the latest docker-py client will break the extension as the client changed the API interface for several methods.

Install

Open ulauncher preferences window -> extensions -> add extension and paste the following url:

https://github.com/brpaz/ulauncher-docker

Usage

On Ulauncher, use "dk" as the default keyword to trigger the extension. By default it will show a list of running containers.

To display all the containers run dk -a.

Other commands:

  • dk info - Show Docker version and provides quick access to Docker Documentation

  • dk utils- Provides access to common commands like "Docker prune"

  • dk -c <containerid|name> - Show container details like name, image and network information and allow to execute quick actions like tailing the container logs or start|stop|restart the container.

Development

git clone https://github.com/brpaz/ulauncher-docker
make link

The make link command will symlink the cloned repo into the appropriate location on the ulauncher extensions folder.

To see your changes, stop ulauncher and run it from the command line with: ulauncher -v.

Contributing

Contributions, issues and Features requests are welcome.

Show your support

Buy Me A Coffee

License

Copywright @ 2019 Bruno Paz

This project is MIT Licensed.

ulauncher-docker's People

Contributors

brpaz avatar dhollinger avatar luigimassa avatar neoklosch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.