Use okteto cli from within a docker container

What is the best way to authenticate and run okteto cli from within a container?

1 Like

I use WSL for development and the way I authenticate with okteto cloud is with a token.

  • Go to Okteto
  • Create a new token
  • Run okteto context use cloud.okteto.com --token your_token_goes_here

Hope this helps

2 Likes