warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.38k stars 373 forks source link

Docker autocomplete do not work with image tags #4489

Open mdesousa-fr opened 8 months ago

mdesousa-fr commented 8 months ago

Discord username (optional)

No response

Describe the bug

Typing docker run then TAB-TAB brings only the latest pulled tag of each image. Also, typing docker run <image_name>: then TAB-TAB brings no suggestion.

To reproduce

  1. Pull several Alpine Docker image that is not latest docker pull alpine:3.18 && docker pull alpine:3.17

  2. Type docker run then TAB-TAB and only the latest pulled image is suggested Screen Shot 2024-03-06 at 18 18 39 PM

  3. Type docker run alpine:then TAB-TAB brings no suggestions Screen Shot 2024-03-06 at 18 10 56 PM

Expected behavior

When TAB-TAB with no image provided: the list of all images locally available. When TAB-TAB with image provided: the list of available tags for the image is suggested.

Screenshots

No response

Operating system

MacOS

Operating system and version

MacOS 14.3.1

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2024.02.27.08.01.stable_03

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 8 months ago

Thanks for letting us know @mdesousa-fr I'll let the team working on this know and we'll post any updates on this thread. As a workaround, you can manually enter the :3.17 at the end of your command to run the specific version of the container.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.