Skip to content

bash: kubectl: command not found for docker cli #21222

@sharmawiki

Description

@sharmawiki

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions