Blockchain process-v1.1 docker install remix

Blockchain process-v1.1 docker install remix

I have read a lot of articles about the installation of remix, many of which are based on npm, but the compatibility of the npm version is too poor, and errors often occur, based on a lot of pits, so I offer the most practical and 100% successful tips

100 million points of damage at the start

Update source

sudo apt-get update
sudo apt update

Perform various package installations

sudo apt install docker.io 
sudo apt install -yqq curl git python build-essential wget unzip

Download the zip source code

wget https://codeload.github.com/4c0n/remix-ide-docker/zip/master

Rename can then unzip

mv  master remix.zip
unzip remix.zip

Fix small bugs to prevent the creation of the image from being stuck (you can ignore it)

cd remix-ide-docker-master/
sudo vim Dockerfile
删除RUN apt-get update && apt-get install -yqq curl git python build-essential wget
In fact, this sentence is to download a few things, but the source pointed to is ubuntu, but it has something to do with dns. I modify dns, modify the docker configuration, and modify the source is useless, (not to mention restarting docker, not to use

Note that the following operations must be performed under sudo, so I don’t bother to bring sudo

Create a mirror based on github md, pay attention to the current directory

docker build . --tag 4c0n/remix-ide
可能结果还是会报错,但是影响不大了,漫长的下载路刚刚开始

Check if the mirroring is complete

 docker images

Another long download path

 docker run -itd -p8080:8080 -p65520:65520 4c0n/remix-ide

You can try to visit here, but the connection may be reset

http://127.0.0.1:8080

Hope the visit is successful

Guess you like

Origin blog.csdn.net/Touale/article/details/109368254