Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Usage
# chmod +x migrate2github.sh
# ./migrate2github.sh -b https://bitbucket.org/your-user/your-repo.git -g https://github.com/your-user/your-repo.git
####################################
# Exit on any error
set -e
# Secure Docker Registry Runner for RHEL (Red-Hat) and CentOS
# This script will run the secure private registry image with given password and the certificate,
# trust the certificate on the machine who runs the script.
#
# <author: handeglc>
#
# The file structure should be like this: