Docker on Mint

Script Install Docker on Mint

———————————————————————–

##########################################
# To run:
# curl -sSL https://gist.githubusercontent.com/sirkkalap/e87cd580a47b180a7d32/raw/d9c9ebae4f5cf64eed4676e8aedac265b5a51bfa/Install-Docker-on-Linux-Mint.sh | bash -x
##########################################

# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then
sudo apt-get update
sudo apt-get install -y apt-transport-https
fi

# Add the repository to your APT sources
sudo echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list

# Then import the repository key
sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

# Install docker
sudo apt-get update
sudo apt-get install -y docker.io cgroup-lite apparmor

#
# Alternatively, just use the curl-able install.sh script provided at https://get.docker.com
#

echo Add group docker to current user
sudo usermod -a -G docker $USER

———————————————————————–

Download Script  https://gist.github.com/sirkkalap/e87cd580a47b180a7d32

Install Docker image https://hub.docker.com/r/dockerizedrupal/php-5.6/

$ sudo docker pull dockerizedrupal/php-5.6

Run docker container

$ sudo docker run -i -t dockerizedrupal/php-5.6 /bin/bash

Advertisements

About NanoSoftTech

NanoSoftTech
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s