Open outkaj opened 5 years ago
I've gotten past that error and on to a later one:
✖ Starting dotdocker-dnsmasq
→ (HTTP code 500) server error - driver failed programming external connectivity on endpoint dotdocker-dnsmasq (7dae2c6db5e4deb199b0e24df6e
…
Setting up DNS
(node:20519) UnhandledPromiseRejectionWarning: Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint dotdocker-dnsmasq (7dae2c6db5e4deb199b0e24df6eee7b131bc88ce0eb644cb74d4d411b630f3a5): Error starting userland proxy:
at /usr/local/lib/node_modules/dotdocker/node_modules/docker-modem/lib/modem.js:257:17
at getCause (/usr/local/lib/node_modules/dotdocker/node_modules/docker-modem/lib/modem.js:287:7)
at Modem.buildPayload (/usr/local/lib/node_modules/dotdocker/node_modules/docker-modem/lib/modem.js:256:5)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/dotdocker/node_modules/docker-modem/lib/modem.js:232:14)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1129:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:20519) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20519) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Describe the bug dotdocker fails with resolution error during configuration on an Ubuntu 18.04 VM
To Reproduce
make sure
docker-proxy
is stopped by runningdocker-proxy stop
sudo systemctl stop systemd-resolved
(note - if I restart this before runningdotdocker
I get the same error) add 8.8.8.8 to/etc/resolv.conf
sudo npm install -g dotdocker
kill any processes on ports 53, 80, 443sudo dotdocker start
output:
Expected behavior I would expect dotdocker setup to succeed.
Screenshots N/A (see log output above)
Additional context aj-may mentioned making sure no other process was running on port 53 and making sure Docker has permissions to listen on that port. I've checked the first but not the second - would the best way to do the latter just be to run
sudo /usr/bin/docker daemon -H tcp://0.0.0.0:53 -H unix:///var/run/docker.sock
?