diff --git a/CHANGELOG.md b/CHANGELOG.md index 59ad06422e..1973606735 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Releases +## 1.40.7 (12/9/2023) + +### New Features + +- Simple `registry image-index-create` command to create multi-architecture images. +- Simple `images` command to list container images. + +### Improvements + +- Improved ptmon syscall handling. +- Enhanced `mondel` events with timestamps and sequence numbers. +- Extra docker socket validation checks. +- Version info on exit/failure. +- Temp container cleanup improvements. +- ARM image build scripts for the containerized distribution. + +### Bug Fixes + +- Websocket http probe bug fix. +- Various ptmod bug fixes. + + ## 1.40.5/1.40.6 (11/2/2023) ### New Features diff --git a/README.md b/README.md index 4bf8176b3f..c2cd621582 100644 --- a/README.md +++ b/README.md @@ -196,9 +196,9 @@ Elixir application images: ## RECENT UPDATES -Latest version: `1.40.6` (`11/2/2023`) +Latest version: `1.40.7` (`12/9/2023`) -The 1.40.6 release introduces a number of new features and improvements for the `debug`, `xray`, `build` and `profile` commands in addition to introducing monitor even log and control commands in the sensor. +The 1.40.7 release introduces an ability to assemble multi-architecture images from already existing architecture-specific images, an ability to list local container images and various enhancements that improve the minification capabilities. For more info about the latest release see the [`CHANGELOG`](CHANGELOG.md). @@ -215,15 +215,15 @@ slim update 1. Download the zip package for your platform. - - [Latest Mac binaries](https://downloads.dockerslim.com/releases/1.40.6/dist_mac.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.40.6/dist_mac.zip`) + - [Latest Mac binaries](https://downloads.dockerslim.com/releases/1.40.7/dist_mac.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.40.7/dist_mac.zip`) - - [Latest Mac M1 binaries](https://downloads.dockerslim.com/releases/1.40.6/dist_mac_m1.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.40.6/dist_mac_m1.zip`) + - [Latest Mac M1 binaries](https://downloads.dockerslim.com/releases/1.40.7/dist_mac_m1.zip) (`curl -L -o ds.zip https://downloads.dockerslim.com/releases/1.40.7/dist_mac_m1.zip`) - - [Latest Linux binaries](https://downloads.dockerslim.com/releases/1.40.6/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.6/dist_linux.tar.gz`) + - [Latest Linux binaries](https://downloads.dockerslim.com/releases/1.40.7/dist_linux.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.7/dist_linux.tar.gz`) - - [Latest Linux ARM binaries](https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm.tar.gz`) + - [Latest Linux ARM binaries](https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm.tar.gz`) - - [Latest Linux ARM64 binaries](https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm64.tar.gz`) + - [Latest Linux ARM64 binaries](https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm64.tar.gz) (`curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm64.tar.gz`) 2. Unzip the package and optionally move it to your bin directory. @@ -289,6 +289,7 @@ If you don't specify any command `slim` will start in the interactive prompt mod - `profile` - Performs basic container image analysis and dynamic container analysis, but it doesn't generate an optimized image. - `run` - Runs one or more containers (for now runs a single container similar to `docker run`) - `merge` - Merge two container images (optimized to merge minified images). +- `images` - Get information about container images. - `version` - Shows the version information. - `appbom` - Shows the application BOM (app composition/dependencies). - `update` - Updates Slim to the latest version. @@ -313,6 +314,7 @@ Commands: - `registry` - Execute registry operations. - `profile` - Collect fat image information and generate a fat container report - `merge` - Merge two container images (optimized to merge minified images) +- `images` - Get information about container images. - `appbom` - Shows the application BOM (app composition/dependencies) - `version` - Show app and docker version information - `update` - Update the app @@ -594,6 +596,8 @@ See the "Debugging Using the `debug` Command" section for more information about ### `REGISTRY` COMMAND OPTIONS +For the operations that require authentication you can reuse the registry credentials from Docker (do `docker login` first and then use the `--use-docker-credentials` flag with the `registry` command) or you can specify the auth info using the `--account` and `--secret` flags). + #### `PULL` SUBCOMMAND OPTIONS USAGE: `slim registry pull [IMAGE]` @@ -609,6 +613,16 @@ USAGE: `slim registry push [IMAGE]` USAGE: `slim registry copy [SRC_IMAGE] [DST_IMAGE]` +#### `IMAGE-INDEX-CREATE` SUBCOMMAND OPTIONS + +USAGE: `slim registry image-index-create --image-index-name [MULTI-ARCH_IMAGE_TAG] --image-name [IMAGE_ONE] --image-name [IMAGE_TWO]` + +Other useful flags: + +- `--as-manifest-list` - Create image index with the manifest list media type instead of the default OCI image index type. +- `--dump-raw-manifest` - Dump raw manifest for the created image index. +- `--insecure-refs` - Allow the referenced images from insecure registry connections. + ## RUNNING CONTAINERIZED The current version of Slim is able to run in containers. It will try to detect if it's running in a containerized environment, but you can also tell Slim explicitly using the `--in-container` global flag. @@ -1080,11 +1094,11 @@ The demo runs on Mac OS X, but you can build a linux version. Note that these st 1. Get the Slim app binaries: -* [Mac](https://downloads.dockerslim.com/releases/1.40.6/dist_mac.zip), -* [Mac M1](https://downloads.dockerslim.com/releases/1.40.6/dist_mac_m1.zip), -* [Linux](https://downloads.dockerslim.com/releases/1.40.6/dist_linux.tar.gz), -* [Linux ARM](https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm.tar.gz), -* [Linux ARM64](https://downloads.dockerslim.com/releases/1.40.6/dist_linux_arm64.tar.gz) +* [Mac](https://downloads.dockerslim.com/releases/1.40.7/dist_mac.zip), +* [Mac M1](https://downloads.dockerslim.com/releases/1.40.7/dist_mac_m1.zip), +* [Linux](https://downloads.dockerslim.com/releases/1.40.7/dist_linux.tar.gz), +* [Linux ARM](https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm.tar.gz), +* [Linux ARM64](https://downloads.dockerslim.com/releases/1.40.7/dist_linux_arm64.tar.gz) Unzip them and optionally add their directory to your `PATH` environment variable if you want to use the app from other locations.