nu_scripts/before_v0.60/docker
2022-02-25 13:10:38 -06:00
..
compose.nu reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
docker.nu reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
README.md reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00

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 with sudo

  • docker.nu should be sourced before compose.nu in your config.toml file as the latter uses the former