containerd / containerd/nerdctl

After nerdctl sets the alias to docker, it cannot be automatically completed

Open
#1,845 1 comment 0 reactions 0 assignees View on GitHub
area/bash-completion kind/feature
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### What is the problem you're trying to solve

## Executed instructions
```shell
# 配置nerdctl自动补全
source <(nerdctl completion bash)
echo 'source <(nerdctl completion bash)' >>~/.bashrc

# 设置alias别名为docker
echo "alias docker='nerdctl -n=k8s.io'" >>~/.bashrc

# 使别名立即生效
source .bashrc
```

After nerdctl sets the alias to docker, it cannot be automatically completed
image

### Describe the solution you'd like

After nerdctl sets the alias to docker, it can still use command line auto-completion

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.