Thanks to visit codestin.com
Credit goes to github.com

Skip to content

president-not-sure/container-toggles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

container-toggles

It's a bash script wrapper on the podman command line. It enables easy toggling of common podman arguments. It does so by accumulating arguments in 2 arrays, then combines them with the default ones and finally inserts them in the final command and executes it. It lives in your ~/bashrc.d.

Warning

It's fully functional. I just need to add documentation and maybe a nice demo gif.

Requirements

  • linux
  • a relatively recent version of bash
  • podman

Installation

git clone https://github.com/president-not-sure/container-toggles.git
mkdir --parents ~/.bashrc.d
cp --recursive --force container-toggles/ct container-toggles/ct-launcher ~/.bashrc.d/
rm --recursive --force container-toggles

Usage

ct [ct|toggle|option]... container|command [container_command_line]

About

Easy toggling of common podman arguments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages