Run a node with the image you created, there is a problem with the connection

Source: Internet
Author: User
Tags docker run

Create an image with the container ubuntublock, where Daocloud.io/ubuntu is the mirror used when making the container

Docker commit Ubuntublock   Daocloud.io/ubuntu/ubuntublock

Then run two containers with our own image, Node1, Node2

Docker run-it--name node1 daocloud.io/ubuntu/ubuntublock/bin/bash
Docker run-it--name node2 daocloud.io/ubuntu/u Buntublock/bin/bash

When created, you can do it yourself.

Admin.addpeer ("enode:// 3452dd408cd4f1fb160725388579f28f2b0552ed63d5291a1e2615f60329355c296f00f6c61ddd671c429017b3e5ec6eb31304d5552aec817faa50650 7dcdc32@172.18.0.7:2220 ")

Admin.addpeer ("enode:// 3452dd408cd4f1fb160725388579f28f2b0552ed63d5291a1e2615f60329355c296f00f6c61ddd671c429017b3e5ec6eb31304d5552aec817faa50650 7dcdc32@172.18.0.7:2220 ")

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.