Commit Graph

196 Commits

Author SHA1 Message Date
7630a95442 Merge pull request #29 from Palleri/patch-2
Added visual "new line" after update check.
2023-02-26 11:58:09 +01:00
c7304093bd Added visual "new line" after update check. 2023-02-26 11:24:46 +01:00
d877a86292 Added exclude-opt
Added options to allow for exclude option to be used
2023-02-26 08:03:15 +01:00
191d27097d Added exclude-option
Added option to exclude specific containers, full names separated by
comma. `dockcheck.sh -e heimdall,glances`
2023-02-26 07:49:57 +01:00
4ddb54770e multi-compose fix
Added a hacky fix for multi-compose containers, for example using overrides in
custom directories or multiple override.yml
2023-02-25 10:32:22 +01:00
c50312dc83 known: profile and multicompose
Added info about known issues related to profiles and multi-compose environments.
2023-02-25 07:56:58 +01:00
c47c703ce9 added shebang
Forgot about the shebang..
2023-02-23 19:00:35 +01:00
372e79a12c bugsquash
Added info about pull not respecting image-tags.
v0.2.0
2023-02-23 13:18:37 +01:00
5c2cf75b21 vers.bump - fix breakage
Fixed a breaking error - pulling new images did not use the actual image:tag, but only defaulted to latest.
Hence bumping the version to alert new users to pull the latest.
2023-02-23 13:17:07 +01:00
e754450300 fixed :tag for pull
Pull did not take tag in account when pulling. Quickfixed it to use the
actual tag of the image of the running container when pulling.
v0.1.9
2023-02-23 13:05:06 +01:00
6ff15f6d97 Update README.md 2023-02-21 21:10:38 +01:00
cb65d78075 Create dc_brief.sh
A brief version of the script, just checking and listing all running containers with updates / no updates / errors.
2023-02-21 21:08:50 +01:00
955796c47a Delete dupc_function.sh 2023-02-21 21:04:01 +01:00
263966dc4a Update README.md
added .env to buglist.
2023-02-20 15:15:52 +01:00
e877cd826d Merge pull request #25 from mag37/testing_019
added fix for .env
2023-02-20 12:08:34 +01:00
b78485ed8b version bump
Changed version number to merge with main, also added some margins to
the curl for version.
2023-02-20 11:35:51 +01:00
fa8edd0443 env-file check, colors
Made a check to see if the compose is started with a env-file, if so use
that file with the compose-command.
2023-02-19 14:21:22 +01:00
dd6a56da1b new example 2023-02-16 13:51:22 +01:00
7f30126678 Delete 018vid.gif 2023-02-16 13:50:12 +01:00
c61dd58858 new example 2023-02-16 13:49:58 +01:00
61825370dd Delete example.gif 2023-02-16 13:49:22 +01:00
687551ce6a Update README.md v0.1.8 2023-02-15 17:01:44 +01:00
3b854eaf65 Merge pull request #23 from nnmalex/main
Fix update check
2023-02-15 16:19:10 +01:00
3ce04ddd5d Update dockcheck.sh
With longer first line the version check doesn't work correctly any longer.
2023-02-15 15:17:23 +00:00
eeb3887879 Merge pull request #22 from mag37/testing_018
license,extra checks,reworks
2023-02-15 13:48:18 +01:00
c105c705c6 GPLv3 2023-02-15 13:19:57 +01:00
42f1daacec Create LICENSE 2023-02-15 13:18:51 +01:00
95a603cdc3 chooseRework,pruneAdd,regctlChecks
Fixes:
- Checks if curl/wget exist to not get an empty `regctl` binary.
    - Extra check if `regctl` binary is functional before continuing.
- changed shebang to `#!/usr/bin/env bash` for portability.
- General cleaning. (y/n checks and space saving)

New:
- Rework of the `choosecontainers` function
    - `[aA]` to update ALL (was `0` before and part of the list/array)
    - numbers starting from 1 (instead of 0)
    - will prompt for new choice if picking numbers/letters out of bound.

- `docker prune` option after completed updates.
    - additionally a`-p` flag for automatic update+prune, eg `./dockcheck.sh -yp`

- Added [GNU GPL v3.0](https://www.gnu.org/licenses/gpl-3.0-standalone.html) license.
2023-02-15 13:16:31 +01:00
791933ffaa Update readme 2023-02-15 13:14:05 +01:00
607ead565c code cleaning
Missed two comments, removed.
2023-02-12 20:55:21 +01:00
1490c97a87 Merge pull request #17 from mag37/dev
## Code Cleaning
- printf formatting fixes
- read formatting fixes
- find/replace instead of sed
- directly check error on regctl instead of indirectly 
- safer array-checks (not expanding without index)
v0.1.7
2023-02-12 19:47:15 +01:00
mag
53f8e8cdf9 code cleaning
printf formatting fixes
read formatting fixes
find/replace instead of sed
directly check error on regctl instead of indirectly
safer array-checks (not expanding without index)
2023-02-12 19:40:42 +01:00
b955649a5d BugSquash
Added note about fixed `${PWD}` breakage.
2023-02-12 06:32:10 +01:00
a2ffff2df2 BugSquash
Added note about fixed `${PWD}` breakage.
2023-02-12 06:30:18 +01:00
b9cfa851bd cd to compose-file extras
Added some error handling of the new cd-line, if the cd breaks for some reason that container will be skipped with a message.
2023-02-11 23:46:56 +01:00
555e472528 Merge pull request #16 from F0x06/relative_path_cd
cd to the compose-file directory before bringing the container up.
2023-02-11 23:41:56 +01:00
0dfc8ca04f Make sure to be in the same folder as 'docker-compose.yml' file before pull & up -d 2023-02-11 21:18:55 +01:00
96a8eda1cb Merge pull request #15 from mag37/run_rework
Did some work to allow for selecting containers which are not docker compose -containers.

These containers will get skipped by default but the user have the option -r to allow updates of docker run images. This is not recommended - as you'd still need to stop and recreate the container manually to use the new image.
v0.1.6
2023-02-10 21:25:07 +01:00
aa4c19fead Update README.md
Added info about the docker run changes.
2023-02-10 21:17:15 +01:00
0bebe041df Delete dockcheck_docker-run_ver.sh
Obsolete due to main script rework.
2023-02-10 21:06:53 +01:00
f1f50c8301 docker_run fixes
Wont break if one of the chosen containers are created with docker run.
Added checks if a container is started with docker run, then skipping (default) or updating the image for manual docker run recreation (flag -r required).
2023-02-10 21:06:12 +01:00
3faada230a Update README.md 2023-02-09 21:22:30 +01:00
5ef1236e16 matching main
Updated this alt.version to match the main release.
v0.1.5
2023-02-09 19:58:53 +01:00
8b77b917da bug-squash
Added line about latest bugfix.
Re-ordered and cleaned some.
2023-02-09 19:38:00 +01:00
5a722e6d40 Merge pull request #12 from nnmalex/main
Merge fixes compatibility with value from `com.docker.compose.project.config_files` not giving full path in some cases, probably due to old `docker-compose` binary.

Thank you **nnmalex** for finding and contributing!
2023-02-09 19:30:32 +01:00
8b8ac84a44 Update dockcheck.sh
Fixed formatting.
2023-02-09 12:03:27 +00:00
d5c90fb98d Update dockcheck.sh
Added condition based on the contents of the `com.docker.compose.project.config_files` label.
2023-02-09 12:00:29 +00:00
4302d45033 Update dockcheck.sh
Adding `docker-config.yaml` file path handling.
2023-02-09 10:33:02 +00:00
a107c18d5f new example
New example to show the changes.
2023-02-09 10:48:20 +01:00
dd64079efd Delete example.gif
Replaced with new example-gif
2023-02-09 10:47:59 +01:00