HelloZeroNet / HelloZeroNet/ZeroNet
python not found during docker-compose up
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I tried to start a zeronode with this docker-compose.yml file, I found [here](https://github.com/HelloZeroNet/ZeroNet/issues/1904#issuecomment-464748094):
```
version: '3'
services:
proxy:
container_name: proxy.zites.cf
image: nofish/zeronet
restart: always
environment:
ENABLE_TOR: "true"
volumes:
- ./data:/root/data
- ./log:/root/log
- ./zeronet.conf:/root/zeronet.conf
ports:
- "26552:26552"
- "127.0.0.1:43110:43110"
command: "sh -c ' ( [ -e /root/plugins/disabled-Multiuser ] && rm -rf /root/plugins/Multiuser && mv /root/plugins/disabled-Multiuser /root/plugins/Multiuser ) && (/usr/bin/tor &) && python zeronet.py --ui_host proxy.zites.cf 127.0.0.1:43110 --ui_ip 0.0.0.0 --fileserver_port 26552'"
```
but when I run
docker-compose up
It exits with an error:
```
Creating network "zeronet_default" with the default driver
Pulling proxy (nofish/zeronet:)...
latest: Pulling from nofish/zeronet
aad63a933944: Pull complete
01a00972849f: Pull complete
9bddbe39f010: Pull complete
ea7ed6b444e6: Pull complete
Digest: sha256:19aac3fbb8dd7eedf05423e7c6f69a2090a5ee85f21ff6cc50d2e425b469a777
Status: Downloaded newer image for nofish/zeronet:latest
Creating proxy.zites.cf ... done
Attaching to proxy.zites.cf
proxy.zites.cf | sh: python: not found
proxy.zites.cf exited with code 1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the referenced docker-compose.yml and its command, then inspect the nofish/zeronet image configuration to determine why the invoked python executable is unavailable. The issue is done when docker-compose up starts the service without the "python: not found" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100