Skip to content

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Apr 25, 2022

closes #3425

- What I did
introduce context show command, aligned with same command introduce in compose-cli

- How I did it
new cobra command, dump current context name after checking it exists

- How to verify it
docker context show

- Description for the changelog
introduce docker context show command

- A picture of a cute animal (not mandatory but encouraged)
image

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments.

Now that we have the docker context show command, perhaps we should

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2022

Codecov Report

Merging #3567 (c6b1518) into master (0b78efe) will decrease coverage by 0.01%.
The diff coverage is 27.77%.

@@            Coverage Diff             @@
##           master    #3567      +/-   ##
==========================================
- Coverage   58.99%   58.98%   -0.02%     
==========================================
  Files         282      285       +3     
  Lines       23813    23834      +21     
==========================================
+ Hits        14049    14058       +9     
- Misses       8908     8920      +12     
  Partials      856      856              

@ndeloof ndeloof force-pushed the context_show branch 2 times, most recently from c6b1518 to e7fe22f Compare April 25, 2022 12:31
Signed-off-by: Nicolas De Loof <[email protected]>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit e0fba5e into docker:master Apr 29, 2022
@thaJeztah thaJeztah added this to the 22.04.0 milestone Apr 29, 2022
matt9ucci added a commit to matt9ucci/DockerCompletion that referenced this pull request Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command: docker context show does not exist for Linux client

4 participants