| 1 | # Prerequisites # |
| 2 | To run the docker example one has to have docker-ce installed and |
| 3 | accessible via "unix:///var/run/docker.sock" (the default). The |
| 4 | default docker bridge network also needs to be accessible from the |
| 5 | pytest executor since the test tries to establish an ssh connection to |
| 6 | the container (again the default after a standard installation of |
| 7 | docker-ce). |
| 8 | |
| 9 | After following steps similar to [Getting started](https://labgrid.readthedocs.io/en/latest/getting_started.html#running-your-first-test) the demo can be run with: |
| 10 | |
| 11 | pytest -s --lg-env env.yaml test_shell.py |
| 12 | |
| 13 | Successfully tested against Docker version 18.06.1-ce, build e68fc7a. |
| 14 | But it should work with later versions as well. |