You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Richard Shih c2bdefbcfb changes for TML UAT Environment 6 years ago
wildfly_base changes for TML UAT Environment 6 years ago
wildfly_tml changes for TML UAT Environment 6 years ago
wildfly_tml_khhw changes for TML UAT Environment 6 years ago
.DS_Store daily commit 6 years ago
README.md daily commit 6 years ago
buildImage.sh changes for TML UAT Environment 6 years ago
cleanImage.sh changes for TML UAT Environment 6 years ago

README.md

tml-in-docker

Dockerized TML Web System

安裝Docker

$ wget -qO- https://get.docker.com/ | sh
$ sudo usermod -aG docker $(whoami)
$ sudo systemctl enable docker.service
$ sudo systemctl start docker.service

安裝Docker Compose

$ sudo yum install epel-release
$ sudo yum install -y python-pip
$ sudo pip install docker-compose

由Private register移除Docker Image

registry='localhost:5000'
name='my-image'
curl -v -sSL -X DELETE "http://${registry}/v2/${name}/manifests/$(
    curl -sSL -I \
        -H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
        "http://${registry}/v2/${name}/manifests/$(
            curl -sSL "http://${registry}/v2/${name}/tags/list" | jq -r '.tags[0]'
        )" \
    | awk '$1 == "Docker-Content-Digest:" { print $2 }' \
    | tr -d $'\r' \
)"