Convert an application deployment into a stack file using a YAML compose file with docker stack deploy Official Docker Documentation Docker Stack Deploy Docker Compose Service Configuration Reference Asciinema Examples Convert an application deployment into a stack file using a YAML compose file with docker stack deploy