Created
December 11, 2016 03:56
-
-
Save valerysntx/f01db56a7c7198f8ca206412a40e16d6 to your computer and use it in GitHub Desktop.
native docker client 1.12.2 on windows subsystem for linux
This file contains 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
wget https://get.docker.com/builds/Linux/x86_64/docker-1.12.2.tgz | |
tar -xzvf docker-1.12.2.tgz | |
cd docker | |
env DOCKER_HOST=tcp://0.0.0.0:2375 | |
mkdir ~/bin | |
mv docker ~/bin | |
cat "export DOCKER_HOST=tcp://0.0.0.0:2375" > ~/.bashrc | |
cat "export PATH=$PATH:~/bin" > ~/.bashrc | |
cat "alias postgresss='docker run -d -p 5432:5432 -de POSTGRES_PASSWORD=password ananthhh/postgress'" > ~/.bashrc | |
./docker pull ananthhh/postgress | |
#./docker run -d -p 5432:5432 -de POSTGRES_PASSWORD=password ananthhh/postgress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment