Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Winbox in Container

This is a container for running Winbox when you don't want to install wine just for this.

"Buy Me A Coffee"

Prerequisites

Arch Linux

sudo pacman -S xorg-xhost

Debian/Ubuntu

sudo apt install x11-xserver-utils

RHEL/Centos

sudo yum install xorg-x11-server-utils

Intel based Mac OSX

  • Install XQuartz: https://www.xquartz.org
  • From the XQuartz preferences, in the security tab, make sure Allow connections from network clients is enabled then restart XQuartz.

After the right package was installed

Linux

xhost +local:

Mac OSX

xhost +localhost

If you want to just try it out

On Linux

docker run -it --rm --network=host --ipc=host -e DISPLAY=$DISPLAY frici/winbox

On Intel based Mac

docker run -it --rm --network=host -e DISPLAY=host.docker.internal:0 frici/winbox

Running with compose (your saved connections may persist on a named volume)

services:
  winbox:
    image: frici/winbox
    container_name: winbox
    restart: on-failure
    network_mode: host
    environment:
      - DISPLAY=:0
      - ipc=host
    volumes:
      - /tmp/.X11-unix:/tmp/.X11-unix
      - winboxdata:/winbox/
volumes:
  winboxdata:

Copy and paste then docker compose up

Building with your preferred winbox version

If you can't find your preferred version in dockerhub you can build it for yourself. For example version 3.40:

export WV=3.40
docker build -f ./Dockerfile -t yourimagename:$WV . --no-cache --build-arg WV=$WV

About

Run Winbox in container, because why not?

Resources

Stars

11 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages