https://github.com/theohbrothers/shells
Scripts to spin up dockerized bash shells to perform quick work.
https://github.com/theohbrothers/shells
bash docker git pwsh
Last synced: 3 months ago
JSON representation
Scripts to spin up dockerized bash shells to perform quick work.
- Host: GitHub
- URL: https://github.com/theohbrothers/shells
- Owner: theohbrothers
- License: gpl-3.0
- Created: 2024-02-03T02:34:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T10:17:03.000Z (over 2 years ago)
- Last Synced: 2025-07-18T13:48:13.848Z (12 months ago)
- Topics: bash, docker, git, pwsh
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shells
[](https://github.com/theohbrothers/shells/actions/workflows/ci-master-pr.yml)
Scripts to spin up dockerized `bash` shells to perform quick work.
## Usage
Start a shell:
```sh
./bash.sh
./bash-git.sh
./pwsh-git.sh
```
To run a command and exit:
```sh
./bash.sh "echo 1"
```
Notes:
- Customize the script before running it
- Default user is `user` with same UID as the script caller
- host filesystem is mounted on `/host`
- `~/.bash_aliases` is mounted on `/home/user/.bash_aliases`
- `~/.bashrc` is mounted on `/home/user/.bashrc`
- `~/.git-credentials` is mounted on `/home/user/.git-credentials` (for `git` variants)