mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-19 17:57:10 +03:00
.. | ||
compose.nu | ||
docker.nu | ||
README.md |
Docker
This directory contains few simple scripts to simplify docker workflow in nushell
Deployment
source the scripts in startup section of your config.toml
file
Usage
- docker.nu - Wrapper around regular docker command, returns a formatted nushell table
- compose.nu - Finds compose files of all running containers and then stops them via
docker-compose down
Notes
-
Both commands assume the user is a mamber of
docker
group, if that is not the case prepend the commands withsudo
-
docker.nu should be sourced before compose.nu in your
config.toml
file as the latter uses the former