summaryrefslogtreecommitdiff
path: root/docs/manual
diff options
context:
space:
mode:
authorMariaMatveeva <matveeva.maria@gmail.com>2015-08-11 09:26:15 +0200
committerMariaMatveeva <matveeva.maria@gmail.com>2015-08-11 09:26:15 +0200
commit00fca4f56365453df69d9e072d90776048fa880d (patch)
tree185fd7c3d1fcae96af24b05a979c091ed955890a /docs/manual
parentfb7949b9c378c3ca1b43155dd3634937f4612238 (diff)
Add installation with Docker
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/install/docker.rst58
-rw-r--r--docs/manual/install/index.rst1
2 files changed, 59 insertions, 0 deletions
diff --git a/docs/manual/install/docker.rst b/docs/manual/install/docker.rst
new file mode 100644
index 0000000..19b01d1
--- /dev/null
+++ b/docs/manual/install/docker.rst
@@ -0,0 +1,58 @@
+.. _installation-docker:
+
+########################
+Installation with Docker
+########################
+
+==============
+Install Docker
+==============
+
+See `Docker documentation <https://docs.docker.com/installation/>`_ to install Docker on your system.
+
+================
+Build Dockerfile
+================
+
+Download `AMD-APP-SDK-v3.0-0.113.50-Beta-linux64 <http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/>`_, paste it to the directory with Dockerfile in it and run::
+
+ $ docker build -t docker .
+
+This will build the image of opensuse 13.1, install all dependencies, AMD drivers, ufo-core, ufo-filters and ufo-ir on it.
+
+==========
+Use Docker
+==========
+
+Run installed image in a new Docker container and use gpu in it::
+
+ $ docker run -i -t --device=/dev/ati/card0 docker /bin/bash
+
+See all created containers::
+
+ $ docker ps
+
+See all created images::
+
+ $ docker images
+
+Stop a running container::
+
+ $ docker stop #ID_or_container_name
+
+Start a stopped container::
+
+ $ docker start #ID_or_container_name
+
+Attach to a running container::
+
+ $ docker attach #ID_or_container_name
+
+For more help run::
+
+ $ docker --help
+
+If you need the container IP, call in a running container::
+
+ $ cd etc
+ $ vi hosts
diff --git a/docs/manual/install/index.rst b/docs/manual/install/index.rst
index bc4781b..0fe3708 100644
--- a/docs/manual/install/index.rst
+++ b/docs/manual/install/index.rst
@@ -12,3 +12,4 @@ accompanying filter suite is described.
linux.rst
mac.rst
+ docker.rst