Code Monkey home page Code Monkey logo

Comments (8)

wbm0701 avatar wbm0701 commented on July 29, 2024 2

谢谢,我都测试成功啦!!~

from jmzk.

ceeji avatar ceeji commented on July 29, 2024

Yes. you need to create a volume using that command if you use external volume for docker.

from jmzk.

wbm0701 avatar wbm0701 commented on July 29, 2024

是。如果使用docker的外部卷,则需要使用该命令创建卷。

I tried, and it turned out to be a mistake:
[root@localhost usr]# docker volume create --name=evtwd-data-volume
evtwd-data-volume
[root@localhost usr]# docker-compose up --no-start evtwd
ERROR: Volume evtd-data-volume declared as external, but could not be found. Please create the volume manually using docker volume create --name=evtd-data-volume and try again.

from jmzk.

wbm0701 avatar wbm0701 commented on July 29, 2024

是。如果使用docker的外部卷,则需要使用该命令创建卷。

Is there something wrong with my y'm'l file?

version: "3"

services:
evtd:
build:
context: .
image: everitoken/evt:latest
command: /opt/evt/bin/evtd.sh --data-dir /opt/evt/data
hostname: 'ectd'
ports:
- 8888:8888
- 9876:9876
expose:
- "8888"
volumes:
- evtd-data-volume:/opt/evt/data

evtwd:
image: everitoken/evt:latest
command: /opt/evt/bin/evtwd --wallet-dir /opt/evt/data --http-server-address=127.0.0.1:9999
hostname: 'evtwd'
links:
- evtd
volumes:
- evtwd-data-volume:/opt/evt/data

volumes:
evtd-data-volume:
external: true
evtwd-data-volume:
external: true
~

from jmzk.

harrywong avatar harrywong commented on July 29, 2024

Two volumes are needed here, evtd-data-volume and evtwd-data-volume. So please create both, then you can start evtwd container.

from jmzk.

wbm0701 avatar wbm0701 commented on July 29, 2024

这里需要两卷,evtd-data-volumeevtwd-data-volume。所以请创建两个,然后你可以启动evtwd容器。

Two volumes are needed here, evtd-data-volume and evtwd-data-volume. So please create both, then you can start evtwd container.

thank you !!! 这个可以了

from jmzk.

wbm0701 avatar wbm0701 commented on July 29, 2024

evtc --help

报下面的错
terminate called after throwing an instance of 'CLI::OptionAlreadyAdded'
what(): -x,--expiration is already added

from jmzk.

harrywong avatar harrywong commented on July 29, 2024

拉最新的docker镜像
Plz pull latest docker image

from jmzk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.