Docker for window
Docker for Mac
Docker for Linux
wget -qO- https://get.docker.com |sh
add user to docker group
sudo usermod -aG docker username
Docker for Window server 2016
Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force
Update Linux
sudo apt-get update
sudo apt-get remove docker docker-engine docker-ce docker.io -y
wget -q0 https://get.docker.com |sh
systemctl enable docker
update window server
uninstall-module DockerMsftProvider -Force
install-module DockerMsftProvider -Force
install-package docker -providername dockermsftprovider -Update -force
docker-compose
window
invoke-webrequest "https://github.com/docker/compose/releases/download/1.18.0/docker-compose-windows-x86_64.exe" -UserBasicParsing -Outfile $Env:ProgramFiles\docker\docker-compose.exe
Linux
curl -L "https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`usname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose