Skip to content

Commit

Permalink
Containers updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Feb 18, 2021
1 parent f6bd6db commit 751824d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
@@ -1,5 +1,5 @@
{
"window.title":"Doc ESCalate",
"restructuredtext.confPath": "${workspaceFolder}\\docs",
"python.pythonPath": "C:\\tools\\Anaconda3\\python.exe"
"python.pythonPath": "/usr/bin/python3"
}
20 changes: 20 additions & 0 deletions docs/100_containers.rst
Expand Up @@ -92,6 +92,26 @@ and can be accessed via the host system’s native web browser.
This requires Docker to be running on the local system. The ```--rm``` flag is used to automatically clean up the container and remove the file system (and all modified and created files with it) when the container exits. The flag is included for the sake of tutorials but not needed when working with the JupyterLab environment where retaining all data in the container (including all changes and modifications) might be preferred. By default (without ```--rm``` flag), a container’s file system persists even after the container exits.

You can bind any directory on your system to docker image by using **-v** flag:

.. code-block::
-v <your/directory>:<docker/directory>
Convenient place inside docker image is

.. code-block::
/home/eicuser/workspace/share
So the full command is:

.. code-block:: bash
docker run -it --rm -p8888:8888 -v <your/directory>:/home/eicuser/workspace/share electronioncollider/escalate:v1.1.0
Troubleshoot
------------
Expand Down

0 comments on commit 751824d

Please sign in to comment.