-
-
Save fjlopezs/4384cb9e71dd0c09d7b37b7c572dbe15 to your computer and use it in GitHub Desktop.
docker completion for CoreOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this as CoreOS user at home folder | |
#set -e | |
toolbox dnf -y install bash-completion wget \ | |
&& toolbox wget https://raw.githubusercontent.com/docker/cli/master/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker \ | |
&& toolbox cp /usr/share/bash-completion /media/root/var/ -R \ | |
&& source /var/bash-completion/bash_completion; | |
unlink ~/.bashrc; echo "source /var/bash-completion/bash_completion" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For remote install use
bash <(curl -s https://gist.githubusercontent.com/fjlopezs/4384cb9e71dd0c09d7b37b7c572dbe15/raw/)