Skip to content

Instantly share code, notes, and snippets.


Matthieu OLIVIER molivier

View GitHub Profile
molivier / gist:a663eb73a87894e05ecfd39d5f50f0c5
Last active Mar 17, 2017
Docker install - Debian Jessie - Openstack
View gist:a663eb73a87894e05ecfd39d5f50f0c5
#!/usr/bin/env bash
# Install packages to allow apt to use a repository over HTTPS
apt install -y apt-transport-https ca-certificates curl software-properties-common
# Add Docker’s official GPG key
curl -fsSL | sudo apt-key add -
# Add Docker Repository
add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
molivier /
Last active Mar 1, 2018
Install Docker Ubuntu 16.04 LTS
#!/usr/bin/env bash
apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y docker-engine
service docker start
docker version

Keybase proof

I hereby claim:

  • I am molivier on github.
  • I am molivier ( on keybase.
  • I have a public key whose fingerprint is 41B7 7501 8C52 08BD 34A1 70FD 46DF 0BAF CFC3 06B3

To claim this, I am signing this object:

molivier /
Created Jan 22, 2016
Stop and Remove all docker containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
molivier /
Last active Jan 12, 2016
Install Kong Proxy
# Kong API Proxy:
# WebSockets : proxy_read_timeout 3600s;
# Install Java 7
molivier /
Created Jan 7, 2016
Install Docker Trusted Registry
# Install Docker Trusted Registry
# Source:
# Docker CS Engine
wget -qO- '' | sudo apt-key add --import
sudo apt-get update && sudo apt-get install apt-transport-https
sudo apt-get install -y linux-image-extra-virtual
echo "deb ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
molivier /
Last active Jan 7, 2016
Docker Install - Ubuntu 14.04
# Docker Install - Ubuntu 14.04
# wget
# chmod +x && sh
# Universal Control Panel
# Install Docker repository (as root)
# Download latest wikipedia dump
# Extract and compress articles
python -b 250K -o extracted frwiki-latest-pages-articles.xml.bz2
# Build single file extraction
find extracted -name 'wiki*' -exec cat {} \; > text.xml
rm -rf extracted
molivier / gist:271bba5d67de1583a8e3
Last active Jan 6, 2021
Set $GOPATH on Mac OSX : bash_profile
View gist:271bba5d67de1583a8e3
# Edit ~/.bash_profile
export GOPATH=/Users/$USER/go
export PATH=$GOPATH/bin:$PATH
# Reload profile : source ~/.bash_profile