remove -it from example, as it's not needed for redis

Adding `-it` on a "detached" (`-d`) container is needed
if the container's main process expects a TTY attached to keep
running.

It's not needed for a redis container, so we can remove it here

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-04-24 14:04:59 +02:00
parent c7b5373dff
commit 2ff02c4b2e
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ The following example starts a Redis container and configures it to always
restart unless it is explicitly stopped or Docker is restarted.
```bash
$ docker run -dit --restart unless-stopped redis
$ docker run -d --restart unless-stopped redis
```
### Restart policy details