You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: output latest wanted version according to semver caret range
The output of the application will now also show the latest available
version, according to the image's current version semver-caret-range.
This is especially helpful, if an installed image cannot be updated to
the next major version but still wants to be notified about
patch/minor updates.
BREAKING CHANGE: Output schema of the application changed -> Column
"Upgrade Type" was removed
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
# dc-outdated
2
2
3
-
_dc-outdated_ (docker-compose-outdated) is a command line utiltiy that allows to easily check for outdated docker images in your docker-compose.yml file (just like _outdated_ command in _npm_ or _yarn_).
3
+
Command line utiliy for checking outdated docker-compose images.
4
4
5
-
Therefore it fetches for each image definition in your docker-compose.yml file, the latest available tag(according to the _semver_ versioning schema -> tags that do not match the semver versioning schema will be ignored) from the according docker registry. If the version (tag) of the image definition in the _docker-compose.yml_ file.
5
+
_dc-outdated_ (docker-compose-outdated) is a command line utiltiy that allows to easily check for outdated docker images in your docker-compose.yml file (just like _outdated_ command in _npm_ or _yarn_). Therefore it iterates over each image definition in your docker-compose.yml file, and fetches the latest available tag-name form the appropriate docker registry (according to the _semver_ versioning schema). Tags that do not match the semver versioning schema will be ignored.
6
6
7
7
## Prerequisites
8
8
9
-
If you are using images from a private registry it is neccessary to login to that registry (_docker login_ command) before executing this application. This is required, since _dc-outdated_ reads login-credentials from the user's docker config file by default. By default, this application searches for a _docker-compose.yml_ file in the current working directory (same behavior as docker-compose utility). Hence, the directory in which the application is executed, must contain a valid **docker-compose.yml** file.
9
+
If you are using images from a private registry it is neccessary to login to that registry (_docker login_ command) before executing this application. This is required, since _dc-outdated_ reads login-credentials from the user's docker config file by default.
10
+
By default, this application searches for a _docker-compose.yml_ file in the current working directory (same behavior as docker-compose utility). Hence, the directory in which the application is executed, must contain a valid **docker-compose.yml** file.
10
11
In order to make this tool work correctly it is neccessary that all images in the _docker-compose.yml_ file are specified with a semver compliant tag. Otherwise execution will fail.
11
12
12
13
@@ -20,14 +21,14 @@ cd /path/to/your/project
20
21
dc-outdated
21
22
```
22
23
23
-
If the compose file contains outdated docker images, the programm will list the outdated image names as well as the current and latest version of the image:
24
+
If the compose file contains outdated docker images, the programm will list the outdated image names. Besides the image name, the application will also output the **current** image version (as specified in the _docker-compose.yml_ file), the next **wanted** version (max possible version according to the image's current version caret range) and the **latest** version of the image.
For advanced usage, command line flags can be used to change the default behavoir of the application:
@@ -45,4 +46,4 @@ However, for a fully detailed description of all flags that can be used, see the
45
46
## TODOs
46
47
47
48
* For now only docker compose files of version 2.x were tested. For the future docker-compose version 3 should be supported too
48
-
* At this moment checking for outdated images on against the official docker registry is not fully working. Hence, only images from a self-hosted docker registry (v2) can be checked reliable. This will be changed in the future so that all kind of docker registries are supported. For now you will have to login to _registry-1.docker.io_ in order to verfy images from offical docker registry.
49
+
* At this moment checking for outdated images against the official docker registry is not fully working. Hence, only images from a self-hosted docker registry (v2) can be checked reliable. This will be changed in the future so that all kind of docker registries are supported. For now you will have to login to _registry-1.docker.io_ in order to verfy images from offical docker registry.
0 commit comments