A Docker image for running a Node server and CUPS with DYMO drivers installed. It has been successfully tested on a DYMO LabelWriter 450 Turbo.
Make sure your DYMO printer is plugged in and launch the servers by running the start-up script in your terminal:
./run.sh
You can verify that the printer is working by running the following against your Docker container:
docker exec -it cups-dymo bash
echo "Hello world!" > test.txt
lp test.txt
The image is built for multiple architectures using buildx
. This is to support running on ARM devices such as Raspberry Pi.
To enable buildx
you may need to enable experimental features in your Docker installation. The easiest way to achieve this is probably by setting the DOCKER_CLI_EXPERIMENTAL=enabled
environment variable.
Once you have buildx
set up, run the following to build the image:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t sleavely/cups-dymo:latest --push .