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
91769be3
Commit
91769be3
authored
Mar 04, 2022
by
Sebastien Moretti
Browse files
Update README.md
parent
71529776
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/README.md
View file @
91769be3
...
...
@@ -3,23 +3,23 @@ export UCNEBASE_VERSION=0.0.2
```
# Run the container with default -> MySQL and Apache running
```
`
bash
```
bash
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
-
-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
```
`
bash
```
bash
docker run
--rm
-i
-t
ucnebase:
$UCNEBASE_VERSION
bash
```
# Mounting/binding a local repository (,readonly can be added to force readonly mounting)
```
`
bash
##
# Mounting/binding a local repository (,readonly can be added to force readonly mounting)
```
bash
--mount
type
=
bind
,source
=
/software,target
=
/software
```
-
UCNEBASE_VERSION is the container version
-
--name assignes a name to the running container
-
--rm automatically removes the container when it exits
-
-i opens an interactive session with the container
-
-t allocates a pseudo-TTY
-
UCNEBASE_VERSION is the container version
-
--name assignes a name to the running container
-
--rm automatically removes the container when it exits
-
-i opens an interactive session with the container
-
-t allocates a pseudo-TTY
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