下载mysql镜像
docker pull registry.access.redhat.com/rhscl/mysql-57-rhel7
修改标签
docker tag registry.access.redhat.com/rhscl/mysql-57-rhel7 registry.example.com:5000/rhscl/mysql-57-rhel7
推送镜像仓库
docker push registry.example.com:5000/rhscl/mysql-57-rhel7
推送到openshfit
oc import-image mysql -n openshift --insecure
oc import-image registry.example.com:5000/wildfly-101-centos7 -n openshift --confirm --insecure
oc edit is/tomcat-s2i -n openshift
oc get is mysql -n openshift -o yaml