Remove custom dns when creating app container

This commit is contained in:
Girish Ramakrishnan
2020-11-19 01:10:44 -08:00
parent d703d1cd13
commit fd965072c5

View File

@@ -339,8 +339,6 @@ function createSubcontainer(app, name, cmd, options, callback) {
if (isAppContainer) {
containerOptions.Hostname = app.id;
containerOptions.HostConfig.NetworkMode = 'cloudron'; // user defined bridge network
containerOptions.HostConfig.Dns = ['172.18.0.1']; // use internal dns
containerOptions.HostConfig.DnsSearch = ['.']; // use internal dns
containerOptions.NetworkingConfig = {
EndpointsConfig: {