Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 407 Bytes

exit.md

File metadata and controls

15 lines (11 loc) · 407 Bytes

Exit Wait strategy

The exit wait strategy will check that the container is not in the running state, and allows to set the following conditions:

  • the exit timeout in seconds, default is 0.
  • the poll interval to be used in milliseconds, default is 100 milliseconds.

Match an exit code

req := ContainerRequest{
	Image:      "docker.io/alpine:latest",
	WaitingFor: wait.ForExit(),
}