Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Docker Client (CLI) on Linux
set -e
mkdir -v --parents $DIR
# | tar xvz --directory $DIR
curl | tar xvz --directory $DIR
mv -v $DIR/docker/docker /usr/local/bin/docker
chmod +x /usr/local/bin/docker
curl -L`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
#mkdir --parents ~/.config/fish/completions
#mv -v $DIR/docker/completion/fish/ ~/.config/fish/completions
#mv -v $DIR/docker/completion/bash/docker /etc/bash_completion.d/docker
rm -vR $DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.