Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3708

For questions regarding using the Docker virtualisation tool.

1 vote
1 answer
765 views

Docker mythril can't connect to Ganache or local .sol contracts

Has anyone here used the docker version of Mythril (https://github.com/ConsenSys/mythril) and can give me a hint on how to make it work? … I only get: $ docker run mythril/myth -xa 0xc0ed3c3c725c6f3202c13fb49fb7fddb1385e62d29279a0a9a170b5251fb10a6 --rpc ganache Could not connect to RPC server. …
Svante's user avatar
  • 450
3 votes
Accepted

Docker mythril can't connect to Ganache or local .sol contracts

After reading up on Docker, I found the following solutions. To connect to a local RPC, use host.docker.internal instead of localhost. … If you want to analyze MyContract.sol in your current working directory, run the following command: docker run -v $(pwd):/working-dir mythril/myth -x /working-dir/MyContract.sol …
Svante's user avatar
  • 450