Do network attach on docker event rather than intercepting start and restart commands.
This means it also works when the docker daemon restarts a container.
This commit is contained in:
1 parent
5c3efbdca0
commit
81e8ba223f
6 files changed
+76
-55
No files matched your search
@@ -226,6 +226,8 @@ func (alloc *Allocator) ContainerDied(ident string) {
|
||||
}
|
||||
}
|
||||
|
||||
func (alloc *Allocator) ContainerStarted(ident string) {}
|
||||
|
||||
// Delete (Sync) - release all IP addresses for container with given name
|
||||
func (alloc *Allocator) Delete(ident string) error {
|
||||
errChan := make(chan error)
|
||||
|
||||
Reference in new issue
Block a user