-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolved conflicts and updated files
- Loading branch information
1 parent
c001849
commit 447ede6
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# Store the container ID in a variable and execute the 'krs health' command | ||
containerID=$(docker ps -q --filter ancestor=kubetoolsca/krs-docker-extension:0.0.1 | head -n 1) | ||
containerID=$(docker ps -q --filter ancestor=kubetoolsca/krs-docker-extension:0.0.3 | head -n 1) | ||
if [ -n "$containerID" ]; then | ||
while true; do | ||
docker exec -it $containerID krs health | ||
echo "ttyd is running, visit http://localhost:57681/ to interact with krs health." | ||
done | ||
else | ||
echo "No running container found for kubetoolsca/krs-docker-extension:0.0.1" | ||
echo "No running container found for kubetoolsca/krs-docker-extension:0.0.3" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters