remove --rm option from docker run, since the image is already removed during pre start

Signed-off-by: Huamin Chen <hchen@redhat.com>
pull/648/head
Huamin Chen 2016-02-01 15:40:48 +00:00 committed by Sébastien Han
parent a3dbfba4c0
commit 6bd8d41a39
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ EnvironmentFile=/etc/environment
ExecStartPre=-/usr/bin/docker kill %p ExecStartPre=-/usr/bin/docker kill %p
ExecStartPre=-/usr/bin/docker rm %p ExecStartPre=-/usr/bin/docker rm %p
ExecStartPre=/usr/bin/mkdir -p /etc/ceph /var/lib/ceph/mon ExecStartPre=/usr/bin/mkdir -p /etc/ceph /var/lib/ceph/mon
ExecStart=/usr/bin/docker run -d --rm --name %p --net=host \ ExecStart=/usr/bin/docker run -d --name %p --net=host \
-v /var/lib/ceph:/var/lib/ceph \ -v /var/lib/ceph:/var/lib/ceph \
-v /etc/ceph:/etc/ceph \ -v /etc/ceph:/etc/ceph \
--privileged \ --privileged \