Skip to content

Instantly share code, notes, and snippets.

@fjlopezs
Forked from franciscocpg/install.sh
Last active April 17, 2018 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjlopezs/4384cb9e71dd0c09d7b37b7c572dbe15 to your computer and use it in GitHub Desktop.
Save fjlopezs/4384cb9e71dd0c09d7b37b7c572dbe15 to your computer and use it in GitHub Desktop.
docker completion for CoreOS
# 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
@fjlopezs
Copy link
Author

fjlopezs commented Apr 9, 2018

For remote install use

bash <(curl -s https://gist.githubusercontent.com/fjlopezs/4384cb9e71dd0c09d7b37b7c572dbe15/raw/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment