We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use expose in the docker container. At this case I want to use system DNS. If I set DNS option to true I will get error.
docker-compose-cs-cart-exposer-1 | Invalid nameserver address given docker-compose-cs-cart-exposer-1 | docker-compose-cs-cart-exposer-1 | at vendor/react/dnsQuery/UdpTransportExecutor.php:110 docker-compose-cs-cart-exposer-1 | 106▕ } docker-compose-cs-cart-exposer-1 | 107▕ docker-compose-cs-cart-exposer-1 | 108▕ $parts = \parse_url((\strpos($nameserver, '://') === false ? 'udp://' : '') . $nameserver); docker-compose-cs-cart-exposer-1 | 109▕ if (!isset($parts['scheme'], $parts['host']) || $parts['scheme'] !== 'udp' || @\inet_pton(\trim($parts['host'], '[]')) === false) { docker-compose-cs-cart-exposer-1 | ➜ 110▕ throw new \InvalidArgumentException('Invalid nameserver address given'); docker-compose-cs-cart-exposer-1 | 111▕ } docker-compose-cs-cart-exposer-1 | 112▕ docker-compose-cs-cart-exposer-1 | 113▕ $this->nameserver = 'udp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53); docker-compose-cs-cart-exposer-1 | 114▕ $this->loop = $loop ?: Loop::get();
I am using version 2.3.0. My docker-compose service:
exposer: image: beyondcodegmbh/expose-server:2.3.0 volumes: - exposer:/root/.expose depends_on: exposer-config: condition: service_completed_successfully command: ['share', '--server-host=XXX, '--subdomain=${EXPOSE_SUBDOMAIN}', '--dns=true', 'http://example.com:80'] networks: - cscart profiles: ["exposing"]
How to use system DNS within docker container?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to use expose in the docker container.
At this case I want to use system DNS.
If I set DNS option to true I will get error.
I am using version 2.3.0. My docker-compose service:
How to use system DNS within docker container?
The text was updated successfully, but these errors were encountered: