Docs: Add --tty and --interactive to docker commands

These options allow the monkey-island docker container to be killed with
<CTRL-C>
This commit is contained in:
Mike Salvatore 2021-10-27 07:58:39 -04:00
parent a55f86ceea
commit bc5ca5b613
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,8 @@ been signed by a private certificate authority.
1. Run the Monkey Island server 1. Run the Monkey Island server
```bash ```bash
sudo docker run \ sudo docker run \
--tty \
--interactive \
--name monkey-island \ --name monkey-island \
--network=host \ --network=host \
guardicore/monkey-island:VERSION guardicore/monkey-island:VERSION
@ -126,6 +128,8 @@ any volumes associated with the previous version.
```bash ```bash
sudo docker run \ sudo docker run \
--tty \
--interactive \
--name monkey-island \ --name monkey-island \
--network=host \ --network=host \
--user "$(id -u ${USER}):$(id -g ${USER})" \ --user "$(id -u ${USER}):$(id -g ${USER})" \