docker swarm init --advertise-addr <manage ip>docker swarm join-token worker/managerdocker service create --name redis --mode global --publish 6379:6379 redisdocker service rm reidsdocker node lsdocker service ls