Coder Social home page Coder Social logo

octoprint-docker-with-slicers's Introduction

Octoprint Dockerfile

This image let you launch OctoPrint container with Cura and Slic3r plugins configured

Thanks to: http://octoprint.org/

Start OctoPrint

docker run -d -p 5000:5000 --device=/dev/ttyUSB0 --name=my-octoprint-containername kennethjiang/octoprint-with-slicers

QNAP Notes

you can run/start the package through the container station. Make sure that ups_yec (a UPS Service) is not running. It makes interferes with USB Devices. To do so:

  1. Find system config drive

    echo "Your autorun.sh needs to be placed in: $(getcfg system "system device")6"
    
  2. Mount the config dir

    mount -t ext2 $(getcfg system "system device")6 /tmp/config
    
  3. create a autorun.sh file

    vi /tmp/config/autorun.sh
    

Content:

#!/bin/sh
# remove wrong ups yec assignment and generate dummy ups_yec executable
/sbin/daemon_mgr ups_yec stop "/sbin/ups_yec &"
rm /tmp/ups_temp
echo '#!/bin/sh' > /sbin/ups_yec
echo 'while true' >> /sbin/ups_yec
echo 'do' >> /sbin/ups_yec
echo 'sleep 10' >> /sbin/ups_yec
echo 'done' >> /sbin/ups_yec
  1. Add execute rights

    chmod +x /tmp/config/autorun.sh
    
  2. unmount the config drive

    umount /tmp/config
    
  3. Reboot

octoprint-docker-with-slicers's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.