Skip to content

Commit

Permalink
doc: how to run sandbox with different options
Browse files Browse the repository at this point in the history
Document some of the sandbox subcommand options.

Signed-off-by: Pablo Barbáchano <[email protected]>
  • Loading branch information
pb8o committed Oct 19, 2023
1 parent ac3eefc commit d9541a1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,28 @@ uvm.help.tmux_ssh()

It supports a number of options, you can check with `devtool sandbox --
--help`.

### Running outside of Docker

Running without Docker

```
source /etc/os-release
case $ID-$VERSION_ID in
amzn-2)
sudo yum remove -y python3
sudo amazon-linux-extras install -y python3.8
sudo ln -sv /usr/bin/python3.8 /usr/bin/python3
sudo ln -sv /usr/bin/pip3.8 /usr/bin/pip3
esac
sudo pip3 install pytest ipython requests psutil tenacity filelock "urllib3<2.0" requests_unixsocket
sudo env PYTHONPATH=tests HOME=$HOME ~/.local/bin/ipython3 -i ./tools/sandbox.py -- --binary-dir ../repro/v1.4.1
```

> :warning: **Notice this runs as root!**
```python
!id
```

0 comments on commit d9541a1

Please sign in to comment.