Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EPD
UCNEbase Web
Commits
d098a520
Commit
d098a520
authored
Mar 03, 2022
by
Sébastien Moretti
Browse files
Add license + Add docker kill cmd
parent
8a336151
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
d098a520
...
...
@@ -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.source="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 \
evolution and genomic organization of ultra-conserved non-coding elements (UCNEs)"
LABEL
org.opencontainers.image.created=$BUILD_DATE
...
...
docker/README.docker
View file @
d098a520
...
...
@@ -27,18 +27,21 @@ docker inspect ucnebase:$UCNEBASE_VERSION
# Show running containers
docker ps
# Kill a running container
docker kill <CONTAINER ID>
# Scan container vulnerabilities
docker scan --file Dockerfile --exclude-base ucnebase:$UCNEBASE_VERSION
# 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
- -d Run container in background and print container ID
# 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)
--mount type=bind,source=/software,target=/software
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment