dec0dOS/zero-ui

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

Ifiht opened this issue · 6 comments

Ifiht commented

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.

Hello, @Ifiht

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

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

@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.

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?

image

That works, thank you.

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