Skip to content

Commit 033c2a4

Browse files
committed
Squashed commit of the following:
commit 5ecc301 Author: Peter Vinter <peter.winther@gmail.com> Date: Tue Nov 19 22:16:41 2024 +0100 docs: Enhance README with better formatting - Add emojis for better visual organization - Improve section headers - Update feature descriptions - Add version information to prerequisites - Improve overall readability commit cc4c2f1 Author: Peter Vinter <peter.winther@gmail.com> Date: Tue Nov 19 22:15:26 2024 +0100 ci: Enhance CI workflow with link and reference checks - Add markdown link verification - Add repository reference verification - Ensure no old repository names remain commit a8bec92 Author: Peter Vinter <peter.winther@gmail.com> Date: Tue Nov 19 22:13:44 2024 +0100 feat: Rename repository to Manage_linux_docker_containers - Rename repository for better clarity and description - Update all documentation with new repository name - Update GitHub Actions workflow - Update release notes and changelog - Update badges and links BREAKING CHANGE: Repository URL has changed to Manage_linux_docker_containers # Conflicts: # README.md
1 parent c534e9d commit 033c2a4

File tree

3 files changed

+51
-19
lines changed

3 files changed

+51
-19
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,34 @@ jobs:
3636
bash -n "$script"
3737
fi
3838
done
39+
40+
verify-links:
41+
name: Verify Documentation Links
42+
runs-on: ubuntu-latest
43+
permissions:
44+
contents: read
45+
steps:
46+
- uses: actions/checkout@v4
47+
- name: Setup Node.js
48+
uses: actions/setup-node@v4
49+
with:
50+
node-version: '18'
51+
- name: Install markdown-link-check
52+
run: npm install -g markdown-link-check
53+
- name: Check links in markdown files
54+
run: |
55+
find . -name "*.md" -type f -exec markdown-link-check {} \;
56+
57+
verify-repository-refs:
58+
name: Verify Repository References
59+
runs-on: ubuntu-latest
60+
permissions:
61+
contents: read
62+
steps:
63+
- uses: actions/checkout@v4
64+
- name: Check repository references
65+
run: |
66+
echo "Checking for old repository references..."
67+
! grep -r "linux_docker_container_shutdown" . --exclude-dir=.git
68+
! grep -r "docker-safe-shutdown" . --exclude-dir=.git
69+
echo "All repository references are updated"

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
- name: Create Release
4242
uses: softprops/action-gh-release@v1
4343
with:
44-
name: Docker Safe Shutdown ${{ steps.tag_version.outputs.VERSION }}
44+
name: Docker Container Management ${{ steps.tag_version.outputs.VERSION }}
4545
body: |
46-
# Docker Safe Shutdown ${{ steps.tag_version.outputs.VERSION }}
46+
# Docker Container Management ${{ steps.tag_version.outputs.VERSION }}
4747
4848
## Changes in this Release
4949
${{ steps.changelog.outputs.CHANGELOG }}
@@ -57,8 +57,8 @@ jobs:
5757
5858
## Installation
5959
```bash
60-
git clone https://github.com/PeterVinter/linux_docker_container_shutdown.git
61-
cd linux_docker_container_shutdown
60+
git clone https://github.com/PeterVinter/Manage_linux_docker_containers.git
61+
cd Manage_linux_docker_containers
6262
chmod +x *.sh
6363
```
6464

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
![Last Commit](https://img.shields.io/github/last-commit/PeterVinter/Manage_linux_docker_containers)
55
![Stars](https://img.shields.io/github/stars/PeterVinter/Manage_linux_docker_containers)
66
![Issues](https://img.shields.io/github/issues/PeterVinter/Manage_linux_docker_containers)
7-
![PowerShell](https://img.shields.io/badge/PowerShell-%235391FE.svg?style=flat&logo=powershell&logoColor=white)
87
![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat&logo=docker&logoColor=white)
8+
![Bash](https://img.shields.io/badge/Bash-4EAA25?style=flat&logo=gnu-bash&logoColor=white)
99
[![CI](../../actions/workflows/ci.yml/badge.svg)](../../actions/workflows/ci.yml)
1010
[![Release](../../actions/workflows/release.yml/badge.svg)](../../actions/workflows/release.yml)
1111
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/PeterVinter/Manage_linux_docker_containers/graphs/commit-activity)
@@ -14,24 +14,25 @@
1414
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)
1515
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FPeterVinter%2FManage_linux_docker_containers&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
1616

17-
A robust solution for safely shutting down and starting up Docker containers on Linux systems.
17+
A comprehensive solution for managing Docker containers on Linux systems, including safe shutdown, startup, and monitoring capabilities.
1818

19-
## Features
19+
## Features
2020

21-
- Safe shutdown of Docker containers with proper cleanup
22-
- Automatic container startup on system boot
23-
- Detailed logging of shutdown and startup processes
24-
- Configurable shutdown timeouts
25-
- Error handling and recovery
21+
- 🛑 Safe shutdown of Docker containers with proper cleanup
22+
- 🚀 Automatic container startup on system boot
23+
- 📝 Detailed logging of all operations
24+
- 🔄 Error handling and recovery
25+
- 🔍 Container status monitoring
26+
- ⚡ Performance optimization
2627

27-
## Prerequisites
28+
## 📋 Prerequisites
2829

2930
- Linux operating system
3031
- Docker installed and running
31-
- Bash shell
32+
- Bash shell (version 4.0+)
3233
- Root or sudo privileges
3334

34-
## Installation
35+
## 🚀 Installation
3536

3637
1. Clone the repository:
3738
```bash
@@ -44,7 +45,7 @@ cd Manage_linux_docker_containers
4445
chmod +x *.sh
4546
```
4647

47-
## Usage
48+
## 🎯 Usage
4849

4950
### Starting Containers
5051
```bash
@@ -56,15 +57,15 @@ chmod +x *.sh
5657
./docker_safe_shutdown.sh
5758
```
5859

59-
## Configuration
60+
## ⚙️ Configuration
6061

61-
The scripts can be configured by modifying the following variables in the respective scripts:
62+
The scripts can be configured by modifying the following variables:
6263

6364
- `TIMEOUT`: Maximum time to wait for container shutdown
6465
- `LOG_FILE`: Location of log files
6566
- `CONTAINER_LIST`: List of containers to manage
6667

67-
## Logging
68+
## 📊 Logging
6869

6970
Logs are stored in:
7071
- `startup_logs.txt`: Container startup logs

0 commit comments

Comments
 (0)