Skip to content

Container kill switch behavior clarification #438

Answered by ViroHeresy
ViroHeresy asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, I think I have sufficiently answered my own question. In case anyone is stuck or concerned like I was here's some information.

Within my stack, I have the following defined on each of the secondary services.

network_mode: service:vpn
depends_on:
- vpn

Using the other containers in the stack I used the exec cmd
curl -f urlhere

While the VPN service is starting, this returns an error. Once the VPN is fully initialized it returns a proper response. So my conclusion is that any calls made through the VPN container before its established a connection will fail until its finished.

Quick aside, depends_on does not prevent the other containers from starting until the first is completed. …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ViroHeresy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant