Spring Boots Integration test with postgres using Docker

I use CentOS7 on vagrant to prepare docker environment. let’s start with install docker on CentOS

  • Install Epel Release

  • $sudo yum -y install epel-release
    $sudo yum -y update

  • Check linux kernel
  • I use docker 1.12rc which require linux minimum 3.10.

    $uname -r
    3.10.0-327.22.2.el7.x86_64

  • Add Docker Repository
  • Install docker

  • $sudo yum -y install docker-engine

    Some case you will be installed previous version of docker (1.11xx) because you have some dependency package that pre-installed with previous version.
    To check and remove that package use following command line.

    $sudo yum -y remove $(rpm -qa|grep docker)
    $sudo yum -y install docker-engine

    Spring Boots Integration test with postgres using Docker

    Leave a Reply

    Your email address will not be published. Required fields are marked *