First script version. Add Readme
This commit is contained in:
parent
5c31714473
commit
4c1263a570
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.idea
|
@ -0,0 +1,9 @@
|
||||
# Full Docker / Docker-Compose / Docker-Machine Installation Script for Ubuntu (Oh my Zsh Environement)
|
||||
|
||||
### Installation
|
||||
```bash
|
||||
wget https://git.adphi.net/Adphi/DockerInstallScript/raw/master/install.sh
|
||||
sudo chmod +x install.sh
|
||||
./install.sh
|
||||
```
|
||||
|
@ -1 +0,0 @@
|
||||
|
24
install.sh
Normal file
24
install.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "\nInstalling Docker\n"
|
||||
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sudo chmod +x get-docker.sh
|
||||
./get-docker.sh
|
||||
sudo usermod -aG docker $USER
|
||||
|
||||
echo "\nInstalling Docker Compose\n"
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
echo "\nInstalling Docker Machine\n"
|
||||
base=https://github.com/docker/machine/releases/download/v0.14.0 &&
|
||||
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
|
||||
sudo install /tmp/docker-machine /usr/local/bin/docker-machine
|
||||
|
||||
echo "\nInstalling ZSH Docker Compose auto completion\n"
|
||||
echo "fpath=(~/.zsh/completion $fpath)" > ~/.zshrc
|
||||
echo "autoload -Uz compinit && compinit -i" > ~/.zshrc
|
||||
|
||||
echo "\nRefreshing ZSH Env\n"
|
||||
zshrefresh
|
Loading…
Reference in New Issue
Block a user