Public Repository

Last pushed: 3 months ago
Short Description
Centos 6.9 image intended to be very close to our production environment.
Full Description

rubyplus-centos image

This image derived from official centos 6.9 image, it will be used to create HydraNorth docker image that is very close to our production environment. It adds our own proprietary rpm yum repositories.

Prerequisites:

  1. Install Docker

Building ruby_base:centos69 image

  1. Clone current project:
    git clone https://github.com/di_docker_images
    
  2. Go to the directory where you cloned the project

    docker build . -t ualibraries/ruby_base:centos69
    

    Alternatively you can always pull pre-build image from docker hub

    docker pull ualibraries/ruby_base:centos69
    

    Maintenance

University of Alberta maintains a Docker Hub repository at https://hub.docker.com/r/ualibraries.
Docker image is registered with Docker Hub:
rubyplus-centos image

To update the Docker Hub repository:

  1. name your local using the ualibraries username and the repository name
    reference

    • docker build -t ualibraries/ruby_base:centos69 .`
  2. push to the Docker Hub registry - docker push <hub-user>/<repo-name>:<tag>

    • `docker push ualibraries/ruby_base:centos69

Upgrading local container

To upgrade to a newer release of ruby_base

  • find name of your running container using

    • docker ps command (NAMES column)
  • stop currently running image:

    • docker stop ${container_name}
  • Removed the stopped container:

    • docker rm -v ${container_name}
  • download the updated Docker image:

    • `docker pull ualibraries\ruby_base:centos69
  • Start the updated Docker image:

    • docker run ...

Frequently used commands

Docker Pull Command
Owner
ualbertalib

Comments (0)