This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interesting video about docker
#5
(2019-10-30, 06:54 PM)PaddyB Wrote: Also, away from openplotter a bit but would this work..?

Circuit Board on EasyEda with some sensors and an esp, docker image of visual studio code with everything needed and a sketch which runs on the esp - then anyone can buy the circuit boards from jlcpcb, download the docker image and just have to click upload to have a working sensor board sending data to signalk?

Docker containers do not have access to a display, so typically you don't use it with applications that have a GUI like VS Code.

The Docker way for this would be to create/use a container image that has the command line / non GUI tools for compiling the sketch and uploading the image to your board. Or precompile and include the binaries in the image, then you need only the upload part.

https://hub.docker.com/r/arduino/arduino-cli seems to include everything needed. The readme is confusing, as it is for the arduino-cli tool, not the Docker image.


If you want to try this stuff out I would first make things work with (locally installed) arduino-cli, then start figuring out how it would work on top of Docker.
Reply


Messages In This Thread
Interesting video about docker - by PaddyB - 2019-10-29, 11:00 PM
Interesting video about docker - by tkurki - 2019-10-30, 06:44 AM
Interesting video about docker - by PaddyB - 2019-10-30, 07:35 AM
RE: Interesting video about docker - by PaddyB - 2019-10-30, 06:54 PM
RE: Interesting video about docker - by tkurki - 2019-10-30, 08:21 PM
RE: Interesting video about docker - by PaddyB - 2019-10-31, 10:20 AM
Interesting video about docker - by tkurki - 2020-02-10, 07:47 AM
RE: Interesting video about docker - by barrymac - 2020-07-04, 07:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)