Feb
06
2019
0

How to change the default Docker network in CentOS 6

One of the dev teams I used to support has been using Docker for jobs started on Jenkins executors(worker nodes).  The Jenkins worker nodes  have been around for a while  and consequently run CentOS 6 with older docker-io packages installed.

When I was asked to provision some new executors I was at a loss because there is very little documentation for installing docker in CentOS 6.  In fact it’s recommended by Docker not to use the older Linux kernels(2.6.x).

Goals of this post:

  • Install  docker-io on CentOS 6
  • configure daemon options – default network
(more…)
Written by mattb in: Linux | Tags: , , , , , , ,
May
30
2017
4

How to Install Python 3 and pip 3 for CentOS 6

CentOS 6 doesn’t have native support for Python 3 and corresponding module management tool ‘pip’.  I prefer pip for managing my Python modules.  On CentOS 7 there is a specific yum package for pip(Python 2.7) and pip3(Python 3.4) respectively. However on COS 6 we must install the ‘epel repository’ to get Python 3.4 and there is no specific package for installing ‘pip 3’.  This tutorial is a friendly reminder for myself and others on how to install Python3 & pip3 for CentOS 6.x.

Goals of this post:

  • Install Python 3.4
  • Install pip3
  • Upgrade pip3

(more…)

Written by mattb in: Linux,Python,Scripts | Tags: , , , , ,