Skip to content

v0.19.0

Choose a tag to compare

@ROM-mm ROM-mm released this 01 Dec 17:47
· 16 commits to develop since this release

The AWS Glue 6.0 runtime on macOS now runs on Docker Desktop as well as on Colima. Notisbook detects which engine is
running and checks the host networking setting that Docker Desktop requires.

Added

  • Docker Desktop support for the AWS Glue runtime. Notisbook picks the Docker engine in this order: the
    NOTISBOOK_DOCKER_ENGINE override (desktop or colima), an explicit DOCKER_HOST/DOCKER_CONTEXT, Docker
    Desktop, then Colima. Your active Docker context is never changed. The engine reaches every docker call only
    through DOCKER_HOST. On Docker Desktop the container gets --add-host host.lima.internal:host-gateway, so the
    kernel reaches the backend at the same address it uses on Colima.
  • Host networking check on Docker Desktop. The Glue container runs with --network host, which Docker Desktop
    only allows with Settings › Resources › Network › Enable host networking (Docker Desktop 4.34+). Notisbook
    tests this setting during runtime validation, when a Glue kernel opens, when a kernel fails to start and when it
    describes the runtime. When the setting is off, it tells you to turn it on and click Apply and restart.
  • Engine details in Settings › Runtimes. The Install and Installed lists and the Docker dialogs show the detected
    engine (Docker Desktop or Colima) and the engine each runtime was installed on. They warn about an unsupported
    engine, host networking turned off, a runtime installed on another engine (with Recreate here) and a container
    missing the host alias.

Changed

  • The Glue runtime follows the selected engine. Install, validation, start, stop, sweep/prune and uninstall run
    on the selected engine. The kernelspec and the API record the engine, and DOCKER_HOST is passed to the kernel.
    Stop and uninstall reach every engine that answers. The Glue runtime is refused on an engine that is neither Docker
    Desktop nor Colima.
  • Older Glue kernelspecs record their engine. A kernelspec created before this version, without an engine, now
    records the engine when it opens. If the runtime cannot be found on the selected engine, Notisbook checks the other
    engines.
  • Documentation. README.md lists Docker Desktop 4.34+ with host networking as a requirement for the AWS Glue
    runtime and explains how to turn it on.

Fixed

  • Glue driver JVM on Docker Desktop. With --network host, Docker Desktop refuses IPv6 connections on loopback.
    The driver JVM now starts with -Djava.net.preferIPv4Stack=true, both in the kernel and in runtime validation.
  • Invalid engine override. An invalid NOTISBOOK_DOCKER_ENGINE no longer crashes the app. The error is returned
    as engine_error, and Settings › Runtimes shows "Docker engine selection is invalid: …" instead of
    "No Docker engine is running".
  • Shutdown and uninstall with Docker. App shutdown now has a total deadline and handles errors per runtime and
    engine. Uninstall continues when one engine fails. Pinning and unpinning a runtime no longer wait for the engine
    probes.
  • Engine survey. An engine set by an explicit DOCKER_HOST that does not answer is now listed as stopped or
    absent. The selected engine is removed from that list by endpoint instead of by label. Absent or stopped engines are
    no longer probed twice. The host networking check in the runtime description only runs on Notisbook's own
    containers.
  • Recreate warning in the Installed list. The warning now gives the actual reason, such as a missing host alias,
    instead of always saying that the data folders are out of date.