Skip to content

hadenlabs/zsh-docker

Repository files navigation

Latest Release Lint CI Test pre-commit Conventional Commits KeepAChangelog

zsh-docker

zsh-docker for project

Requirements

This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:

Installation

oh-my-zsh users

If you're using oh-my-zsh, install this plugin by doing the following:

  1. Go to your oh-my-zsh custom plugins directory -cd ~/.oh-my-zsh/custom/plugins
  2. Clone the plugin bash git clone https://github.com/hadenlabs/zsh-dockerbash
  3. Edit your .zshrc and add plugins=( ... zsh-docker ) to your list of plugins
  4. Open a new terminal and enjoy!

antigen users

If you're using Antigen, install this plugin by doing the following:

  1. Add antigen bundle hadenlabs/zsh-docker to your .zshrc where you're adding your other plugins.
  2. Either open a new terminal to force zsh to load the new plugin, or run antigen bundle hadenlabs/zsh-docker in a running zsh session.
  3. Enjoy!

antibody users

If you're using Antibody, install this plugin by doing the following:

  1. Add :
antibody bundle hadenlabs/zsh-docker

to your .zshrc where you're adding your other plugins.

  1. Either open a new terminal to force zsh to load the new plugin, or run antibody bundle hadenlabs/zsh-docker in a running zsh session.
  2. Enjoy!

Usage

How to use this project

Functions

zsh docker includes a small utility docker.

docker::login

docker login using DOCKERHUB_USERNAME and DOCKERHUB_TOKEN

docker::clean::all

docker clean all

docker::clean::dangling

docker clean dangling

docker::clean::images::all

docker clean images all

docker::clean::images::dangling

docker clean images with filter dangling

docker::clean::process::all

docker clean process all

docker::clean::process::dangling

docker clean process with filter dangling

docker::clean::volume::all

docker clean volume all

docker::clean::volume::dangling

docker clean volume with filter dangling

docker::clean::network::all

docker clean network all

docker::clean::network::dangling

docker clean network with filter dangling

docker::process::list

docker show list procces

docker::process::stop::all

docker stop procces all

docker::process::stop::exited

docker stop procces with filter exited

docker::clean::process::delete::all

docker stop procces all

docker::volume::delete::all

docker volume delete all

docker::volume::list::all

docker volume list all

docker::volume::delete::exited

docker volume delete with filter exited

docker::volume::delete::dangling

docker volume delete with filter dangling

docker::container::delete::all

docker container delete all

docker::container::stop::all

docker container stop all

docker::network::delete::all

docker network delete all

Help

Got a question?

File a GitHub issue.

Contributing

See Contributing.

Module Versioning

This Module follows the principles of Semantic Versioning (SemVer).

Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use the MAJOR version for incompatible changes.
  2. Use the MINOR version when adding functionality in a backwards compatible manner.
  3. Use the PATCH version when introducing backwards compatible bug fixes.

Backwards compatibility in 0.0.z and 0.y.z version

  • In the context of initial development, backwards compatibility in versions 0.0.z is not guaranteed when z is increased. (Initial development)
  • In the context of pre-release, backwards compatibility in versions 0.y.z is not guaranteed when y is increased. (Pre-release)

Copyright

Copyright Β© 2018-2022 Hadenlabs

Trademarks

All other trademarks referenced herein are the property of their respective owners.

License

The code and styles are licensed under the LGPL-3.0 license See project license..

Don't forget to 🌟 Star 🌟 the repo if you like zsh-docker

Your feedback is appreciated