Skip to content

feat(shim): docker commit and network aliases - #23

Merged
djpfs merged 4 commits into
mainfrom
feat/docker-commit-network-aliases
Oct 21, 2026
Merged

djpfs merged 4 commits into
mainfrom
feat/docker-commit-network-aliases

Conversation

@djpfs

@djpfs djpfs commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • docker commit CONTAINER REPOSITORY[:TAG] runs container commit. The -a, -c and -m options have no equivalent and are refused.
  • docker run --network-alias and docker network connect --alias set AttachmentOptions.aliases. The key is omitted from the JSON when empty, so existing configurations are unchanged.

Test plan

  • swift test: parser tests for commit and aliases, and the model's encode/decode (with and without aliases, and legacy JSON)
  • commit and DNS aliases not run against a live daemon (they change images and containers on the machine)

Base: feat/container-list-polish

djpfs added 2 commits October 21, 2026 00:28
Sidebar: Overview, Resources and System sections, with item counts on
Containers, Images, Volumes and Networks.

Container list: search and sort share one row, with the sort menu as an
icon. The filter is a full-width segmented control, which fits the
sidebar at its minimum width. Rows show published ports as pills and the
memory use of running containers, and row actions have a fixed hit area.
`docker commit CONTAINER REPOSITORY[:TAG]` runs `container commit`.
Author, change and message options have no equivalent and are refused.

`docker run --network-alias` and `docker network connect --alias` set
AttachmentOptions.aliases, which the 1.6.0 daemon resolves as DNS names
for the container. The key is omitted from the JSON when the list is
empty, so existing configurations are unchanged.
@djpfs
djpfs force-pushed the feat/container-list-polish branch from 6c7bded to 41dd4fd Compare October 21, 2026 04:33
@djpfs
djpfs force-pushed the feat/docker-commit-network-aliases branch from cc8251c to 0eb81ff Compare October 21, 2026 04:33
Resolve ContainerDetailView: keep main's logs view, and apply
contentBackground() to its fill.
@djpfs
djpfs changed the base branch from feat/container-list-polish to main October 21, 2026 04:57
Keep the commit and alias cases alongside login and logout, and keep both
sets of parsing tests.
@djpfs
djpfs merged commit 031b7b6 into main Oct 21, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant