Compose is used for configuring multiple containers in the same host. Docker Swarm is different in that it is a container orchestration tool
docker attach [OPTIONS] CONTAINER
Swarm
docker service inspect helloworld
docker service rm helloworld
WARNING: The initializers have been moved to a plugin. See release note