dec0dOS / zero-ui

ZeroUI - ZeroTier Controller Web UI - is a web user interface for a self-hosted ZeroTier network controller.
GNU General Public License v3.0
915 stars 147 forks source link

bug: docker up fails due to "no-build" flag #88

Closed Ifiht closed 2 years ago

Ifiht commented 2 years ago

Bug Report

ZeroUI version:

3.3, latest

Current behavior:

Following the instructions exactly as written, on ubuntu 20.04 results in:

sudo docker-compose up -d --no-build
Pulling zerotier    ... done
Pulling https-proxy ... done
ERROR: Service 'zero-ui' needs to be built, but --no-build was passed.

Eliminating the flag fails as well:

sudo  docker-compose up -d
Building zero-ui
ERROR: Cannot locate specified Dockerfile: ./docker/zero-ui/Dockerfile

Expected behavior:

Should work, start the docker container.

Steps to reproduce:

Fresh install of Ubuntu 20.04, follow the steps in the readme.

dec0dOS commented 2 years ago

Hello, @Ifiht

You should pull the images first. Use the docker-compose pull command

HaganMSP commented 2 years ago

I am having the same issue on my Digital Ocean droplet. All updates, latest Docker/Compose etc.

docker-compose pull

Pulling zerotier ... done Pulling https-proxy ... done

docker-compose up -d --no-build

ERROR: Service 'zero-ui' needs to be built, but --no-build was passed.

docker-compose up

Building zero-ui ERROR: Cannot locate specified Dockerfile: ./docker/zero-ui/Dockerfile

Ifiht commented 2 years ago

@dec0dOS sorry, I thought it was evident when I mentioned the instructions, but following all the steps including docker-compose pull leads to this bug. Worth noting I'm also using Digital Ocean though.

dec0dOS commented 2 years ago

Seems to be that it's the docker/docker-compose bug on some systems. Could you try the docker pull dec0dos/zero-ui and then docker-compose up -d --no-build?

HaganMSP commented 2 years ago

image

That works, thank you.

dec0dOS commented 2 years ago

@HaganMSP, thanks for the report, I'll update the README.md with the docker pull command instead.