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

bootstrap.sh can't support Unix. #70

Open
meijifei opened this issue Apr 28, 2019 · 0 comments
Open

bootstrap.sh can't support Unix. #70

meijifei opened this issue Apr 28, 2019 · 0 comments

Comments

@meijifei
Copy link

I think docker/bootstrap.sh is written in Windows.
I build it then run it:

docker build -t zkui:2.0 .
docker-compose up -d zkui

then run it, it report errors. /bin/sh^M: bad interpreter: No such file or directory
this is my docker-compose.yaml

version: "3"
services:
  zookeeper:
    image: zookeeper:3.4.13
    restart: always
    ports:
      - "2181:2181"
  zkui:
    image: zkui:2.0
    ports:
      - "9090:9090"
    environment:
      - ZK_SERVER=zookeeper:2181
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    depends_on:
      - zookeeper

I have solve this problem, I rewrote bootstrap.sh in Linux.

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

1 participant