• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Write to usb Drive from container
Hello Sebastian,

I know where this effect is coming from.

Please do the following. In the netPI web GUI of Docker you can click to your container and you can click then as next also to a link named "!Log". If you click it you see the log file generated by Docker of all the console outputs your container has ever done.

So if your container is doing an "echo" command for example you will see it in the log file. So if you have a container now that does many many outputs for debug purposes the log file grows and grows and grows and fills the main SD memory. In the current firmware version or lower we do not limit the log file. The log file will be deleted only at the time the container is restarted.

In the next version of netPI software we will be inserting a limit of 1 MByte in future for a log file per container and then it starts as a cyclic buffer overwriting the old values. But until we have the new version ready, the only chance you have is to disable of console outputs of your container. Then there is no logging and no SD memory card filling.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)


Messages In This Thread
Answer - by SebastianSoller - March-14th-2018, 12:56 PM
Answer - by Armin@netPI - March-15th-2018, 07:22 PM
Answer - by Armin@netPI - March-23rd-2018, 03:40 PM
Answer - by SebastianSoller - March-27th-2018, 09:22 AM
Answer - by Armin@netPI - March-27th-2018, 11:41 AM
Answer - by SebastianSoller - March-27th-2018, 06:36 PM
Answer - by Armin@netPI - March-27th-2018, 07:43 PM
Answer - by Armin@netPI - March-27th-2018, 07:46 PM
Answer - by SebastianSoller - April-17th-2018, 08:40 AM
Answer - by Armin@netPI - April-17th-2018, 09:30 AM
Answer - by SebastianSoller - April-25th-2018, 10:39 AM
Answer - by Armin@netPI - April-25th-2018, 06:37 PM
Answer - by SebastianSoller - April-25th-2018, 08:16 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 6 90 October-21st-2019, 10:30 AM
Last Post: Armin@netPI
  Cannot start container Magnus 7 36 October-16th-2019, 01:00 PM
Last Post: Armin@netPI
  Generate VLAN interfaces in container FrankJacob 7 45 September-26th-2019, 03:19 PM
Last Post: Armin@netPI
  create container in Portainer v1.12.4 dcatteeu 2 24 September-9th-2019, 12:12 PM
Last Post: dcatteeu
  UMTS/LTE support via USB router/modem sticks in a container Armin@netPI 3 154 September-5th-2019, 02:07 PM
Last Post: Armin@netPI
  Exporting and importing container images Armin@netPI 0 23 August-23rd-2019, 10:39 AM
Last Post: Armin@netPI
  Ready-to-deploy: full featured Node-RED container Armin@netPI 5 78 July-25th-2019, 06:16 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 17 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  Official Node-RED container Armin@netPI 0 19 April-5th-2019, 10:39 AM
Last Post: Armin@netPI
  Multi-stage builds for slim container images Armin@netPI 0 10 February-7th-2019, 04:14 PM
Last Post: Armin@netPI

Forum Jump:

Users browsing this thread: 1 Guest(s)