bsc-docker
bsc-docker copied to clipboard
Executing `make build-simple` gives `Permission denied` error
I am trying to run for dev environment on Linux machine. And I facing an error:
make build-simple
make build-bsc make[1]: Entering directory '/home/maltabba/repos/experiments/bsc/bsc-docker' "" docker-compose -f docker-compose.bsc.yml build sh: 1: : Permission denied make[1]: *** [Makefile:12: build-bsc] Error 127 make[1]: Leaving directory '/home/maltabba/repos/experiments/bsc/bsc-docker' make: *** [Makefile:18: build-simple] Error 2
What do you suggest? Thanks,
Are you using Docker Desktop?
No, I am not.
having this same issue
$ make build-simple
make build-bsc
make[1]: Entering directory '/home/admin-1/devnet/bsc-docker'
"" docker compose -f docker-compose.bsc.yml build
sh: 1: : Permission denied
make[1]: *** [Makefile:12: build-bsc] Error 127
make[1]: Leaving directory '/home/admin-1/devnet/bsc-docker'
make: *** [Makefile:18: build-simple] Error 2
@STdevK @ackratos @darren-liu Any suggestion please?
@Muhammad-Altabba Can you share the details of docker-compose.bsc.yml?
Hi @STdevK , I am following the steps and so my file is the exact as this: https://github.com/bnb-chain/bsc-docker/blob/master/docker-compose.bsc.yml
And here is its content from my computer:
version: "3.9"
services:
bsc-geth:
build:
context: .
dockerfile: Dockerfile.bsc
args:
GIT_SOURCE: https://github.com/bnb-chain/bsc.git
GIT_CHECKOUT_REF: master
image: bsc-geth:docker-local
What is your local dockerd permission settings?
What is your local dockerd permission settings?
I use docker for my daily tasks without issues. What exactly you like me to provide and what are the commands to execute to log the permissions you are asking for, please?
Can you run docker --version
command?
docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Is the container running in 'privileged mode'?
Execute the following command with the relevant container ID
sudo docker inspect --format='{{.HostConfig.Privileged}}' [container-id]