mirror of
https://github.com/docker/docs.git
synced 2026-04-02 01:08:53 +07:00
@@ -50,6 +50,7 @@ function teardown() {
|
||||
swarm_manage
|
||||
|
||||
docker_swarm run -d --name c1 busybox echo c1
|
||||
sleep 1 #sleep so the 2 containers don't start at the same second
|
||||
docker_swarm run -d --name c2 busybox echo c2
|
||||
|
||||
run eval "docker_swarm ps --before c1 2>/dev/null"
|
||||
|
||||
Reference in New Issue
Block a user