Repository navigation
ContainerManager 1.2.0
Moves to Apple's container 1.7.1, looks after container itself (installing, updating
and removing it without a password prompt), and adds ways to get disk space back from
containers that have churned through data.
Before you update
ContainerManager now needs container 1.6.1 or later. If you're on something older,
the app says so when it opens and offers to update it. 1.6.1 and 1.7.1 both ship with
signed installers, so the app can do that itself. It's built against 1.7.1, and that's
the version to be on: Settings ▸ Diagnostics warns if the services and the app
disagree.
macOS asks once about a background item. The new privileged helper (below) is
registered when the app first opens. Allow it in System Settings ▸ General ▸ Login
Items & Extensions. You can turn it off again in Settings ▸ Privileged Helper, and it
stays off.
Registries are always reached over HTTPS. container 1.3.0 removed the auto
scheme, which quietly used plain HTTP for localhost and private-network registries.
Pulling from a local registry that only speaks HTTP now fails.
New
ContainerManager updates itself. Update… in Settings ▸ Updates, or Update
ContainerManager… in the update alert, downloads the new version, checks its
signature, and replaces and relaunches the app, rather than sending you to the release
page.
A privileged helper for the jobs that need root. Once it's allowed, updating
container and setting up or turning off local DNS happen without a password prompt
for administrators; other accounts are still asked for an administrator's password. The
helper only installs Apple's notarized container package, and only touches what that
package installed plus the /etc/resolver entries for local DNS. Installing, updating
and removing container now show each step in a small progress window.
Uninstall container. With the helper enabled, Settings ▸ Container Tool ▸
Uninstall container… stops the services and removes the tool and its local DNS
entries. You choose whether your images, containers, volumes and machines go too.
Reclaim unused space. Files deleted inside a container don't shrink its disk image
on your Mac. Right-click a running container or stack service ▸ Reclaim Unused
Space hands that space back, for the container's own filesystem and any writable
named volumes. It's most worthwhile on a database that has churned through data.
Containers created before container 1.4.1 can't do this: they keep the in-VM agent
they were created with. The app recognises them and offers Re-create to Reclaim
Space… instead, which rebuilds the container from its own settings (image, command,
environment, ports, volumes, shared folders, labels, network, CPU and memory) and starts
it again if it was running. Named volumes keep their data. Anything that can't be
carried over is listed before you confirm, with an offer to export the filesystem first,
and if the image can't be fetched nothing is removed.
Restore running containers and machines. Turn this on in Settings ▸ Services, and
whatever was running when ContainerManager stopped the services (Stop, Restart, an
update) starts again once they're back. Stacks come up in order, with their addresses
updated. It's off by default, and it forgets what was running if you quit the app in
between.
Choose the account inside a new machine. New Machine has an Account section
for the user name, UID, GID and home folder. Leave it blank to match your Mac account,
as before.
Diagnostics in Settings. The services' version, build and commit, the client
library version the app was built with, the data, install and log folders (each with
Show in Finder), and container and image counts. Copy Diagnostics puts it all on
the clipboard for a bug report.
Changed
- Machines and
container clusternodes are left out of Containers and Stacks, as
container lsdoes. container 1.7.1 won't start, stop or delete cluster nodes from
its own commands either. - Updating container picks the newest release with a signed installer. A release
published with only an unsigned package is reported in Software Update rather than
failing the check, and offered once Apple adds the signed one. - Machines finish setting up your account on every boot, as
container machine bootdoes. - Turning off local DNS removes its resolver entry instead of leaving an inert file
in/etc/resolver. Local DNS domains are now lowercase letters, digits and hyphens.
Fixed
- Usage no longer sticks on "Measuring…" when ContainerManager was opened before
the services were running, or the services restarted while it was open. - Updating container without the helper waits for the Installer to finish, instead
of restarting the services while it was still running. - A failed update check no longer shows Sparkle's error. The app falls back to its
latest GitHub release, and Software Update lists ContainerManager and container on
separate lines. - Re-creating a stack service with moved dependencies no longer repeats the image's
entrypoint in its command. - List rows keep their height when they arrive with a refresh, instead of losing
their second line until you left the section and came back. - Published ports read as numbers:
1337/tcp, not1,337/tcp. - Long network names stay on one line, and the "not running", "needs updating" and
"not installed" screens fill the window instead of being cut off in the list column.