mirror of https://github.com/docker/docs.git
Fixing DNS issues, should have been .kite and not .dev
This commit is contained in:
parent
1b67cfc5c6
commit
37f19c97f8
|
@ -14,7 +14,7 @@ Apps.restart = function (app, callback) {
|
|||
}).run();
|
||||
callback(null);
|
||||
// Use dig to refresh the DNS
|
||||
exec('/usr/bin/dig dig ' + app.name + '.dev @172.17.42.1 ', function() {});
|
||||
exec('/usr/bin/dig dig ' + app.name + '.kite @172.17.42.1 ', function() {});
|
||||
} else {
|
||||
callback(null);
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ Docker.runContainer = function (app, image, callback) {
|
|||
if (err) { callback(err, null); return; }
|
||||
console.log('Started container: ' + container.id);
|
||||
// Use dig to refresh the DNS
|
||||
exec('/usr/bin/dig dig ' + app.name + '.dev @172.17.42.1 ', function() {});
|
||||
exec('/usr/bin/dig dig ' + app.name + '.kite @172.17.42.1 ', function() {});
|
||||
callback(null, container);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue