github.com/flavio/docker@v0.1.3-0.20170117145210-f63d1a6eec47/docs/reference/commandline/service_rm.md (about) 1 --- 2 title: "service rm" 3 description: "The service rm command description and usage" 4 keywords: "service, rm" 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # service rm 17 18 ```Markdown 19 Usage: docker service rm SERVICE [SERVICE...] 20 21 Remove one or more services 22 23 Aliases: 24 rm, remove 25 26 Options: 27 --help Print usage 28 ``` 29 30 Removes the specified services from the swarm. This command has to be run 31 targeting a manager node. 32 33 For example, to remove the redis service: 34 35 ```bash 36 $ docker service rm redis 37 redis 38 $ docker service ls 39 ID NAME MODE REPLICAS IMAGE 40 ``` 41 42 > **Warning**: Unlike `docker rm`, this command does not ask for confirmation 43 > before removing a running service. 44 45 46 47 ## Related information 48 49 * [service create](service_create.md) 50 * [service inspect](service_inspect.md) 51 * [service logs](service_logs.md) 52 * [service ls](service_ls.md) 53 * [service scale](service_scale.md) 54 * [service ps](service_ps.md) 55 * [service update](service_update.md)