BashNovusTools is a collection of Linux administration scripts for common deployment and operations tasks. It provides commands for installing Docker, managing Docker access and services, and updating Ubuntu packages. The project can be used directly from source or packaged as a Snap.
| Script | Purpose |
|---|---|
install-docker-engine.sh |
Installs Docker Engine and its CLI plugins from Docker package repositories. |
install-docker-compose.sh |
Installs or updates the standalone docker-compose executable. |
restart-docker.sh |
Stops and starts the Docker systemd service. |
update-docker-user-group.sh |
Adds the current user to the docker group. |
refresh-env.sh |
Starts a login shell for the current user. |
update-ubuntu.sh |
Updates APT metadata and performs package and distribution upgrades. |
For requirements, detailed usage, limitations, and review findings, see the complete documentation.
Clone the repository on a Linux system, make the scripts executable, and invoke only the tool you need:
git clone https://github.com/novuslogic/BashNovusTools.git
cd BashNovusTools
chmod +x bin/*.sh
./bin/update-ubuntu.shMost scripts execute privileged system operations and will request sudo
access. Review the relevant documentation and script before running it.
The Snap is currently published to the edge channel and uses classic confinement:
sudo snap install bashnovustools --channel=edge --classicSnap commands are exposed using the package prefix, for example:
bashnovustools.update-ubuntu
bashnovustools.install-docker-engine --dry-run
bashnovustools.restart-dockerThe repository's GitHub Actions workflow builds the Snap on changes to main
and publishes successful main builds to the edge channel.
- These tools can install or remove packages, change package repositories, restart Docker, and modify user group membership.
- Membership in the
dockergroup grants root-equivalent control of the host. - The Docker installation scripts require internet access and should be tested before use in production environments.
- Review the known implementation issues in the script review.
Licensed under the Apache License 2.0.