Append instead of replace file contents

I think the `DOCKER_OPTS` should be appended to `/etc/default/docker` and not replace the entire contents.
Upstream-commit: 81357e12e7a019c14d87dc491705ad92409293b7
Component: engine
This commit is contained in:
Nicholas E. Rabenau
2014-09-13 22:26:40 +02:00
parent 3fd5e4c058
commit a1ea7562ca

View File

@ -42,7 +42,7 @@ it:
Next, we have to configure docker so that it's run with the option
`-r=false`. Run the following command:
$ sudo sh -c "echo 'DOCKER_OPTS=\"-r=false\"' > /etc/default/docker"
$ sudo sh -c "echo 'DOCKER_OPTS=\"-r=false\"' >> /etc/default/docker"
## Sample systemd Script