Code Monkey home page Code Monkey logo

peco-docker's Introduction

peco-docker

Docker helper powered by peco, inspired by pecrant

Requirements

$ docker search <image-name> | peco
$ docker images -a | peco
$ docker ps -a | peco

Getting started

Installation

  • Download the latest release of peco-docker here.
$ cd /path/to/download
$ chmod +x peco-docker
$ mv peco-docker /path/to/bin # in your $PATH

You can name it as you want.

$ alias deco="peco-docker"

Usage

$ peco-docker help
Usage: peco-docker <command> [OPTIONS]

command:
  search          Search Docker images in the Docker registry
  pull            Search Docker images and download the selected images

  images [-a]     List the selected images in your Docker host (tcp://localhost:2375)
  tag             Tag the FIRST selected image
  push            Push the selected images to the Docker registry
  save > <tar>    Export the FIRST selected image
  rmi [-f]        Remove the selected images
  inspecti [-f]   Show low-level information on the selected images
  history         Show the history of the selected images

  ps [-a]         List the selected containers in your Docker host (tcp://localhost:2375)
  attach          Attach to the FIRST selected running container
  commit [tag]    Create a new image from the FIRST selected running container
  diff            Inspect changes on the FIRST selected container's filesystem
  export > <tar>  Export the contents of the FIRST selected container's filesystem
  start           Start the selected stopped containers
  restart         Restart the selected running containers
  stop            Stop the selected running containers
  kill            Kill the selected running containers
  rm [-f]         Remove the selected containers
  inspect [-f]    Show low-level information on the selected containers
  top             Lookup the processes of the selected running containers
  logs            Fetch the logs of the FIRST selected container

  version         Show the version of peco-docker
  help            Show this message
$ peco-docker search
Usage: peco-docker search <term>
$ peco-docker pull
Usage: peco-docker pull <term to search> [tag]
$ peco-docker tag
Usage: peco-docker tag <name>[:tag]

License

CC0
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.

peco-docker's People

Contributors

yungsang avatar

Watchers

 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.