7,540
edits
Changes
→Swarm stack készítése
<pre>
# docker stack deploy -c helloworld.yml helloservice
Creating network helloservice_balancer-net
Creating service helloservice_helloworld
</pre>
<pre>
# docker stack ls
NAME SERVICES
helloservice 1
</pre>
<pre>
# docker stack ps helloservice
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
hi98iuw4c46g helloservice_helloworld.1 tutum/hello-world:latest worker0 Running Running 3 minutes ago
1wv6qfznyhx4 helloservice_helloworld.2 tutum/hello-world:latest worker0 Running Running 3 minutes ago
ngzajs7ktp1z helloservice_helloworld.3 tutum/hello-world:latest worker1 Running Running 3 minutes ago
uryp9wlz97t9 helloservice_helloworld.4 tutum/hello-world:latest worker2 Running Running 3 minutes ago
gucdjewjagr2 helloservice_helloworld.5 tutum/hello-world:latest loadbalancer Running Running 3 minutes ago
</pre>