• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Write to usb Drive from container
#12
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 1.1.2.0 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)

  Reply


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
  TOSILOCK for CONTAINER COswald 3 2,243 July-13th-2021, 11:32 AM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,578 March-19th-2021, 02:58 PM
Last Post: Armin@netPI
  [SOLVED] Starting services/commands/scripts at startup of a container Jonas.Sellmann@outlook.de 9 6,194 March-9th-2021, 08:47 AM
Last Post: WalterSchaefer
  OpenVPN container Armin@netPI 0 1,654 January-3rd-2021, 12:13 PM
Last Post: Armin@netPI
  operating Console of a container on netPI connected to Wi-Fi tethering tad 3 2,680 December-3rd-2020, 12:32 PM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,705 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,849 November-16th-2020, 01:35 PM
Last Post: alhammi
  Get host MAC via REST API inside container bschandra 4 3,710 November-16th-2020, 09:26 AM
Last Post: bschandra
  Exporting and importing container images Armin@netPI 3 3,156 May-20th-2020, 11:24 AM
Last Post: COswald
Exclamation Creating a container Linnerz 6 4,545 March-6th-2020, 02:47 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)