Last active
September 24, 2017 19:40
-
-
Save VeLKerr/22e7c84241420bcbae9cc2a8dd1f40a0 to your computer and use it in GitHub Desktop.
Script for install the newest Docker version
This file contains hidden or 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
#! /usr/bin/env bash | |
apt-get update | |
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 - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update && \ | |
apt-get install -y docker-ce | |
usermod -aG docker `logname` |
2nd part":
# Now you have to log out and log in again in you terminal.
# Then go to the https://hub.docker.com/u/bigdatateam/ and chose needed Docker container.
# (for example bigdatateam/hive-course2)
# The go to the "Tags" tab and consider the last version of container.
# To run th container you have to execute only 2 commands:
docker pull bigdatateam/hive-course2:1.0
docker run --rm -it -p <your_port>:8888 bigdatateam/hive-course2:1.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing for instructors: