Is there a way to run “docker service create” with a detach option, similar to “docker run -d” ?
I’m trying to launch a ubuntu container with the latest docker rc release (1.12rc3); however, the container appears to exit upon launch. Here is the command I’m using to launch the container:
docker service create --name myubuntu ubuntu:14.04 /bin/bash
When I check on the service, this is what I see:
root@Endpoint01:~# docker service ls ID NAME REPLICAS IMAGE COMMAND ewx32l4xg1zx myubuntu 0/1 ubuntu:14.04 /bin/bash
Is there a reason why the service is not running?