-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-env script for tcsh is not correct #12308
Comments
I think support for csh was missed, when the command and So Guess nobody uses csh... |
$ docker-machine env --shell=bash
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.254:2376"
export DOCKER_CERT_PATH="/home/anders/.docker/machine/machines/default"
export DOCKER_MACHINE_NAME="default"
# Run this command to configure your shell:
# eval $(docker-machine env --shell=bash)
$ docker-machine env --shell=tcsh
setenv DOCKER_TLS_VERIFY "1";
setenv DOCKER_HOST "tcp://192.168.99.254:2376";
setenv DOCKER_CERT_PATH "/home/anders/.docker/machine/machines/default";
setenv DOCKER_MACHINE_NAME "default";
: Run this command to configure your shell:
: eval `docker-machine env --shell=tcsh` Needs porting over to pkg/minikube/shell |
yeah, this is just missing functionality in minikube, should be a pretty simple fix. |
should be as simple as adding an entry for tsch in the map at https://github.com/kubernetes/minikube/blob/master/pkg/minikube/shell/shell.go#L60 |
Thank you for fixing this issue so fast |
Steps to reproduce the issue:
minikube start --driver=docker
minikube docker-env
minikube docker-env --shell=tcsh
Full output of
minikube logs
command:Not needed here...
Full output of failed command:
But the expected output should look like this:
In no Go-expert, but it seems that the source-codefor handling a (t)csh-shell differently than bash or similar shells is missing. The docker here is running on a vm, but at least by explicitly naming the shell I expect the correct script.
The text was updated successfully, but these errors were encountered: