crytic / etheno

Simplify Ethereum security analysis and testing
GNU Affero General Public License v3.0
332 stars 31 forks source link

Docker run under Ubuntu 22.0 #137

Open 77ph opened 1 year ago

77ph commented 1 year ago

A similar problem occurs when starting any version:

docker run -it trailofbits/etheno:v0.3.2
Unable to find image 'trailofbits/etheno:v0.3.2' locally
v0.3.2: Pulling from trailofbits/etheno
eaead16dc43b: Already exists 
2bb3b49db360: Pull complete 
560b910a94da: Pull complete 
96cd7182d83c: Pull complete 
e45dfb5c9ca0: Pull complete 
a9bbf0825a91: Pull complete 
bf2fe34f85c6: Pull complete 
6739fe0ba614: Pull complete 
4f4fb700ef54: Pull complete 
Digest: sha256:7a183ad0c79acf6e1e680fac70c2e0e9107c61b7fa6bf2e647dc3081125055e3
Status: Downloaded newer image for trailofbits/etheno:v0.3.2
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

etheno@1e708743c39e:~$ 

Host system: cat /etc/issue Ubuntu 22.04.2 LTS \n \l

elopez commented 1 year ago

Hi @77ph, thanks for the report! Could you elaborate on what issue you're experiencing? Your docker run output looks normal to me.

77ph commented 1 year ago

My expectations: some service will start equivalent to local launch etheno. Reality: I get a command line prompt inside a container. Perhaps the documentation lacks clarity on how to run from a container. The problem is not critical, I just try to install it locally.

elopez commented 1 year ago

The documentation could be clearer, indeed! You get a shell inside a container that has etheno pre-installed on it. You can then launch etheno in the container, similarly to how you would do it if you had installed etheno locally. Keep in mind that containers are isolated so you may need to publish ports or use a data volume as mentioned in the quickstart note to use the tool in a meaningful way.

77ph commented 1 year ago

Thanks, I get the idea. You can close the issue Thank you again!