Skip to content

Instantly share code, notes, and snippets.

@VeLKerr
Last active September 24, 2017 19:40
Show Gist options
  • Save VeLKerr/22e7c84241420bcbae9cc2a8dd1f40a0 to your computer and use it in GitHub Desktop.
Save VeLKerr/22e7c84241420bcbae9cc2a8dd1f40a0 to your computer and use it in GitHub Desktop.
Script for install the newest Docker version
#! /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`
@VeLKerr
Copy link
Author

VeLKerr commented Sep 23, 2017

Installing for instructors:

  • vim
  • tmux
  • docker-compose
  • virtualenv (via pip)

@VeLKerr
Copy link
Author

VeLKerr commented Sep 24, 2017

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