A command for one off containers
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with the existing CLI command-dispatch entry point and Kubernetes execution path; the issue names the proposed one-off command and the kubectl run --rm -i --tty invocation but no files or tests. Done means selecting a pod, reusing its Docker image and namespace, opening an interactive shell, and cleaning up the temporary container.
Written by the indexing model from the issue text.
Description
Click is an incredible tool already! I use it so often and it saves me a lot of time.
Sometimes, I'm in the situation that I want to go into a container that already stopped (not because of the files that were created in there, but because of the environment). The way I do it right now is 1.) check the Docker image that was being used with click 2.) execute the following command:
kubectl run one-off-shell -n <...> --rm -i --tty --image <...> -- bash
Would be cool to be just in click, select the pod and run one-off:
[clust] [default] [awesome-123-r462t] > one-off
root@one-off-shell-5cfd8f874f-pttcx:/home/root#
...
What do you think about this feature?
I would be keen to try a PR, even though I'm pretty new to Rust :)
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databricks/click
-
ClickOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
databricks/click#237 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
databricks/click#234 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
databricks/click#233 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
databricks/click#227 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
databricks/click#218 · 7 comments ·
All issues in databricks/click
Similar issues
-
enhancement feature review: low Sonnet ui
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MMFoundation/WallpaperMachine#190 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
servo/rust-smallvec#877 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cloudflare/workers-rs#1140 ·
Maintainers usually reply within 7 days
-
A-documentation S-needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Quantinuum/hugr#3344 ·
Maintainers usually reply within 1 day
-
P4
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
HerringtonDarkholme/hd-lang#1718 · 1 comment ·
Maintainers usually reply within 1 day