Last active
April 15, 2018 11:20
-
-
Save mirontoli/47a2e1c4bdcdc50db3fc56010129cf8e to your computer and use it in GitHub Desktop.
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
# tried on ubuntu 17.10 2018-04-11 | |
# installation as described on docker website | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
sudo apt-get install -y docker-ce | |
# post installation linux | |
# https://docs.docker.com/install/linux/linux-postinstall/ | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
# try hello world | |
# should run without sudo | |
docker run hello-world | |
# try waldekm spfx | |
# https://hub.docker.com/r/waldekm/spfx/ | |
docker run -it --rm --name ${PWD##*/} -v $PWD:/usr/app/spfx -p 5432:5432 -p 4321:4321 -p 35729:35729 waldekm/spfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment