Docker Issues
Issue: Container won’t start
Symptoms:
docker psdoesn’t show tvx- Container exits immediately
- Port already in use
Solutions:
- Check port availability:
1
lsof -i :8777If occupied, stop the process or use different port
- Check container logs:
1
docker logs tvx
- Remove and recreate:
1 2 3 4 5
docker rm -f tvx docker run -d --name tvx -p 8777:80 \ -e VITE_M3U_URL=http://your-server:8000/api/channels.m3u \ -e VITE_XMLTV_URL=http://your-server:8000/api/xmltv.xml \ tvx:latest
Issue: Changes not reflected after rebuild
Symptoms:
- Code changes don’t appear
- Old version still running
- Build shows cached layers
Solutions:
- Force rebuild without cache:
1
docker build --no-cache -t tvx:latest .
- Remove old container and images:
1 2 3
docker rm -f tvx docker rmi tvx:latest docker build -t tvx:latest .