Libreoffice based on Alpine Linux
436

# update to your network device
NETWORK_DEVICE="en1"
IP=$(ifconfig ${NETWORK_DEVICE} | grep inet | awk '$1=="inet" {print $2}')
docker run -t \
-v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
-e DISPLAY=unix$DISPLAY \
ellerbrock/alpine-libreoffice:latest
brew update && brew cask install xquartzopen -a XQuartz => Go to Security Tab and tick "Allow connections from network clients"# update to your network device
NETWORK_DEVICE="en1"
IP=$(ifconfig ${NETWORK_DEVICE} | grep inet | awk '$1=="inet" {print $2}')
xhost + ${IP}
docker run -t \
-e DISPLAY=${IP}:0 \
ellerbrock/alpine-libreoffice:latest
Content type
Image
Digest
Size
238.9 MB
Last updated
almost 7 years ago
docker pull ellerbrock/alpine-libreoffice