mirror of https://github.com/docker/docs.git
Merge pull request #992 from davidmichaelkarr/patch-1
Update host_integration.md
This commit is contained in:
commit
197e1e8553
|
|
@ -78,7 +78,8 @@ in the `/etc/systemd/system` directory, e.g.
|
|||
If you need to pass options to the redis container (such as `--env`),
|
||||
then you'll need to use `docker run` rather than `docker start`. This will
|
||||
create a new container every time the service is started, which will be stopped
|
||||
and removed when the service is stopped.
|
||||
and removed when the service is stopped. Make sure you don't use "`-d`" for
|
||||
"detached mode". The command run from "`ExecStart`" needs to run in the foreground.
|
||||
|
||||
[Service]
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in New Issue