tilt-dev / tilt-dev/ctlptl

Feature request: Option to append to `docker-desktop` `vm.fileSharing`

Open
#240 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
722
Forks
48
Avg merge
1d 5h
Merged PRs (30d)
8

Description

Currently, the option that exist is:

ctlptl docker-desktop set vm.fileSharing /Users,/Volumes,/private,/tmp

In order to use this, you need to know what's there already, not to overwrite it. If the list is long, it's cumbersome to copy-paste all the values, to add a new value.

It would be nice with a command like

ctlptl docker-desktop append vm.fileSharing /tmp

which would (if not already in the list) append /tmp to the list.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the ctlptl docker-desktop command entry point and inspect how vm.fileSharing is handled by the existing set command. Implement the requested append form so an existing value is preserved and the new path is added only when absent; verify the command with the Docker Desktop file-sharing setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.