Commit d098a520 authored by Sébastien Moretti's avatar Sébastien Moretti
Browse files

Add license + Add docker kill cmd

parent 8a336151
...@@ -15,7 +15,7 @@ LABEL org.opencontainers.image.authors="sebastien.moretti@sib.swiss" ...@@ -15,7 +15,7 @@ LABEL org.opencontainers.image.authors="sebastien.moretti@sib.swiss"
LABEL org.opencontainers.image.url="https://gitlab.sib.swiss/EPD/UCNEbase_web" LABEL org.opencontainers.image.url="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.source="https://gitlab.sib.swiss/EPD/UCNEbase_web" LABEL org.opencontainers.image.source="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.documentation="https://gitlab.sib.swiss/EPD/UCNEbase_web" LABEL org.opencontainers.image.documentation="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.licenses=".........................." LABEL org.opencontainers.image.licenses="GPLv3"
LABEL org.opencontainers.image.description="UCNEbase is a free, web-accessible information resource on the \ LABEL org.opencontainers.image.description="UCNEbase is a free, web-accessible information resource on the \
evolution and genomic organization of ultra-conserved non-coding elements (UCNEs)" evolution and genomic organization of ultra-conserved non-coding elements (UCNEs)"
LABEL org.opencontainers.image.created=$BUILD_DATE LABEL org.opencontainers.image.created=$BUILD_DATE
......
...@@ -27,18 +27,21 @@ docker inspect ucnebase:$UCNEBASE_VERSION ...@@ -27,18 +27,21 @@ docker inspect ucnebase:$UCNEBASE_VERSION
# Show running containers # Show running containers
docker ps docker ps
# Kill a running container
docker kill <CONTAINER ID>
# Scan container vulnerabilities # Scan container vulnerabilities
docker scan --file Dockerfile --exclude-base ucnebase:$UCNEBASE_VERSION docker scan --file Dockerfile --exclude-base ucnebase:$UCNEBASE_VERSION
# Run the container with default -> MySQL and Apache running # Run the container with default -> MySQL and Apache running
docker run --name UCNEbase -p 8081:8081 -d ucnebase:$UCNEBASE_VERSION docker run -p 8081:8081 -d ucnebase:$UCNEBASE_VERSION
- -p Publish a container's port(s) to the host, i.e. map internal port 8081 to 8081 externally - -p Publish a container's port(s) to the host, i.e. map internal port 8081 to 8081 externally
- -d Run container in background and print container ID - -d Run container in background and print container ID
# Run bash in the Docker image # Run bash in the Docker image
docker run --name UCNEbase --rm -i -t ucnebase:$UCNEBASE_VERSION bash docker run --rm -i -t ucnebase:$UCNEBASE_VERSION bash
# Mounting/binding a local repository (,readonly can be added to force readonly mounting) # Mounting/binding a local repository (,readonly can be added to force readonly mounting)
--mount type=bind,source=/software,target=/software --mount type=bind,source=/software,target=/software
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment