Axoloti docker image


#1

Hi all,

I used to run axoloti patcher in linux, but since the last update of my debian I had problems to get the Patcher working again.

To solve the problem, my first approach has been to setup a docker container running the patcher in Ubuntu 14.04.

Now that the container is working, I am thinking on making this container image available for the community to make it very simple to install.
I am not sure that this approach is worth since the image is ~450MB but it would work on any system supporting docker containers.

So I would like to ask you your opinion about this approach and if you are interested on it.

I have also register axoloti in the docker hub, in case this approach would be useful.

Let me know your thoughts.
Cheers!


#2

I have no issues with running the patcher on debian (or derived) machines and I would not be interested in a docker image based on ubuntu 14.04

How are you attaching to the usb device using this image?


#3

How did you install it? what version of JDK did you use?

docker image is now available at https://hub.docker.com/r/axoloti/patcher.
Once docker.io is installed in your system, one just needs to pull the image and run the container as:
docker pull axoloti/patcher:1.0.12-2
docker run -it --rm --name axoloti \
--net=host \
-e DISPLAY \
--privileged \
-v /dev/bus/usb:/dev/bus/usb \
-v ${HOME}/.Xauthority:/home/user/.Xauthority \
-v ${HOME}/my-axoloti-contrib:/home/user/axoloti/axoloti-contrib \
axoloti/patcher:1.0.12-2

To access to the USB I mount it with:
-v /dev/bus/usb:/dev/bus/usb