Azure / Azure/azure-cli

bash: kubectl: command not found for docker cli

Open
#21,222 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Core customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## bash: kubectl: command not found

**Command Name**
``kubectl

**Errors:**
```
bash: kubectl: command not found
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `kubectl`

## Expected Behavior

## Environment Summary
```
Linux-5.4.0-1067-azure-x86_64-with, Alpine Linux v3.15
Python 3.10.2
Installer: DOCKER

azure-cli 2.33.0
```
## Additional Context
Simply run the container as
`docker run -it mcr.microsoft.com/azure-cli`
Once done, you can login and then execute the following command or simply execute the following command
`kubectl`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.