-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Polkadot/Parity v0.9.3 docker container dies with resolv.config parse error #3259
Comments
@freiit: Any help would be highly appreciated |
CC @s3krit |
I've got a
Maybe that would also fix your issue @vishgpt |
Another approach would be using
|
I tried both above options given but still facing the same issue. Any other suggestions? |
@vishgpt looks like you have some issue with your host Are you able to run any other Docker image?
Then, inside the container, run:
Just to check if it's able to resolve the apt source server names. |
@arturgontijo Yes, i am able to run many other docker images. I am using Ubuntu 18.04... does that seem to be a problem? |
I tried to reproduce by reducing complexity. I called
and my output does not produce any error:
I assume the error message you got shows the real issue already:
What is in your resolv.conf? |
Below is my resolv.conf: This file is being maintained by Puppet.DO NOT EDITsearch us.deloitte.com |
You need to put your file in a code block, otherwise the control characters (like Beside that - error code says Maybe delete or edit that file? Its in your local system, not in the docker container, so you generated or copied it from somewhere? Again - can't help you with this. |
Hi Team,
I am trying to setup polkadot node and following the exact instructions given in this documentation. But my node does not work and docker container gets stopped with below mentioned error:
Error:
0: IO Error
1: Error parsing resolv.conf: InvalidOption(3)
Steps that i have executed on Ubuntu 18.04 version:
docker run -d -p 30333:30333 -p 9933:9933 -v /my/local/folder:/polkadot parity/polkadot:latest --chain polkadot --rpc-external --rpc-cors all
Logs:
2021-06-15 13:20:23 Parity Polkadot
2021-06-15 13:20:23 ✌️ version 0.9.3-aa3867609-x86_64-linux-gnu
2021-06-15 13:20:23 ❤️ by Parity Technologies [email protected], 2017-2021
2021-06-15 13:20:23 📋 Chain specification: Polkadot
2021-06-15 13:20:23 🏷 Node name: sore-kitten-4526
2021-06-15 13:20:23 👤 Role: FULL
2021-06-15 13:20:23 💾 Database: RocksDb at /polkadot/.local/share/polkadot/chains/polkadot/db
2021-06-15 13:20:23 ⛓ Native runtime: polkadot-9030 (parity-polkadot-0.tx7.au0)
Error:
0: IO Error
1: Error parsing resolv.conf: InvalidOption(3)
Location:
src/main.rs:25
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: __libc_start_main
at :
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: