It's only used on non-Windows platforms, so let's move it there. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@@ -99,10 +99,6 @@ type containerConfig struct {
exposedPorts []types.TransportPort
}
-const (
- resolverIPSandbox = "127.0.0.11"
-)
-
// ID returns the ID of the sandbox.
func (sb *Sandbox) ID() string {
return sb.id
@@ -23,6 +23,8 @@ const (
defaultPrefix = "/var/lib/docker/network/files"
dirPerm = 0o755
filePerm = 0o644
+
+ resolverIPSandbox = "127.0.0.11"
)
func (sb *Sandbox) startResolver(restore bool) {