Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
6a6b7e30
Commit
6a6b7e30
authored
7 years ago
by
Rafal Gumienny
Browse files
Options
Downloads
Patches
Plain Diff
docs: Update README
parent
c854f0a1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/README.rst
+11
-11
11 additions, 11 deletions
docker/README.rst
with
11 additions
and
11 deletions
docker/README.rst
+
11
−
11
View file @
6a6b7e30
...
...
@@ -5,10 +5,10 @@ Build Docker image
------------------
In order to build OST image:
```
cd <OST ROOT>/d
ock
er
(sudo) docker build --tag <TAG> .
```
.. code-bl
ock
::
cd <OST ROOT>/docker
(sudo) docker build --tag <TAG> .
One can chose any tag eg. ost.
...
...
@@ -16,15 +16,15 @@ Run script with OST
-------------------
In order to run OST script do:
```
(sudo) docker run --rm -v <PATH TO SCRIPT DIR>:/home <IMAGE NAME> /home/<SCRIPT NAME> [OPTIONS]
```
.. code-block::
(sudo) docker run --rm -v <PATH TO SCRIPT DIR>:/home <IMAGE NAME> /home/<SCRIPT NAME> [OPTIONS]
Run GUI
-------
In order to run GUI do (tested on linux machine):
```
xhost +local:docker
(sudo) docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --entrypoint dng <IMAGE NAME>
```
\ No newline at end of file
.. code-block::
xhost +local:docker
(sudo) docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --entrypoint dng <IMAGE NAME>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment