xeyes-docker build docker image ./build-image.sh run container ./run.sh This script includes xhost. try network access from container on container ping www.example.com launch xeyes from container on container xeyes