Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate mount points #101

Open
cmoro-deusto opened this issue Dec 21, 2019 · 2 comments
Open

Duplicate mount points #101

cmoro-deusto opened this issue Dec 21, 2019 · 2 comments

Comments

@cmoro-deusto
Copy link

On first step of One Organisation Network, I get a "Duplicate mount points" error from docker-compose.

Steps to reproduce

  • Clone the project (error happens in master and stable branches)
  • Set up env variables export ORG=org1 DOMAIN=example.com
  • Launch orderer docker-compose -f docker-compose-orderer.yaml up -d

Apparently it hangs, but launching with verbose reveals the problem:

docker-compose -f docker-compose-orderer.yaml --verbose up -d
compose.config.config.find: Using configuration files: ./docker-compose-orderer.yaml
ERROR: compose.cli.main.main: Duplicate mount points: [/home/dordoka/Code/hlf/fabric-starter/crypto-config/hosts_orderer:/etc/hosts:rw, /home/dordoka/Code/hlf/fabric-starter/crypto-config/hosts:/etc/hosts:rw]

Versions Information

docker version

Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:29:52 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:28:22 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker-compose version

docker-compose version 1.25.0-rc4, build 8f3c9c58
docker-py version: 4.1.0
CPython version: 3.7.4
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019
@selvaraman
Copy link

I am also facing same problem. I think this is because we are having two mount at same place.

   volumes:
      - ./crypto-config/hosts_orderer:/etc/hosts
      - ./crypto-config/hosts:/etc/hosts

Any one know fix for this?

@LeonidLe
Copy link
Collaborator

LeonidLe commented Jan 9, 2020

fixed this in the stable branch, but can't reproduce in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants