Based on a tweet by @Tomwillfixit
Just a quick fun conversion to make it work as a Docker CLI plugin
- docker/cli#1534 CLI Plugins Design
- docker/cli#1564 Basic framework for writing and running CLI plugins
To use it (assuming you're running a beta of Docker 19.03):
-
create the plugins directory
mkdir -p ~/.docker/cli-plugins
-
download the "plugin", and save it as
~/.docker/cli-plugins/docker-changelog
(note: no.sh
extension!)curl https://gist.githubusercontent.com/thaJeztah/340fe943e5f0426407eec32e22809ec4/raw/d843dab795c34fb703e780eb221ebe7075e0d3be/docker-changelog-plugin.sh > ~/.docker/cli-plugins/docker-changelog
-
make it executable
chmod +x ~/.docker/cli-plugins/docker-changelog
-
run the
help
command to verify the plugin was installeddocker help ... Management Commands: app* Docker Application (Docker Inc., v0.8.0-beta1) builder Manage builds buildx* Build with BuildKit (Docker Inc., v0.2.0-tp) changelog* View the Docker Engine changelog (thaJeztah, v0.0.1)
-
enjoy!
docker changelog # Changelog For official release notes for Docker Engine CE and Docker Engine EE, visit the [release notes page](https://docs.docker.com/engine/release-notes/). ## 19.03.0 (2019-05-21)