mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-27 11:31:06 +01:00
fixed issue for container not being excluded on restart
This commit is contained in:
@@ -20,6 +20,7 @@ func FromDocker(c *types.Container, dockerHost string) (res Container) {
|
||||
res.ProxyProperties = &ProxyProperties{
|
||||
DockerHost: dockerHost,
|
||||
ContainerName: res.getName(),
|
||||
ContainerID: c.ID,
|
||||
ImageName: res.getImageName(),
|
||||
PublicPortMapping: res.getPublicPortMapping(),
|
||||
PrivatePortMapping: res.getPrivatePortMapping(),
|
||||
|
||||
Reference in New Issue
Block a user