• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot start container
#8
Hello Magnus,

Docker allows to specifiy mapped device and environment variables and other settings only during the first container start. So you have no chance to set those parameters afterwards. This is no a Hilscher restriction but a Docker one.

As described in the readme https://hub.docker.com/r/hilschernetpi/n...sys-basis/ you have to add at least the ENV variable "IP_ADDRESS" set to value "dhcp". And do not forget to map devices /dev/spidev0.0 and /dev/net/tun to the container.

A very cool thing with Docker Web GUI on netPI is that you can click on a running container and then "Duplicate/Edit". It then copy the current settings of your container and you can add more parameters if you want. When you deploy the container then, the old container will be deletet and a new one started.

But of course you already loaded CODESYS runtime is gone since the container is new.

Thx
armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Cannot start container - by Magnus - October-16th-2019, 08:17 AM
RE: Cannot start container - by Armin@netPI - October-16th-2019, 08:51 AM
RE: Cannot start container - by Magnus - October-16th-2019, 11:15 AM
RE: Cannot start container - by Armin@netPI - October-16th-2019, 11:28 AM
RE: Cannot start container - by Armin@netPI - October-16th-2019, 11:30 AM
RE: Cannot start container - by Armin@netPI - October-16th-2019, 11:46 AM
RE: Cannot start container - by Magnus - October-16th-2019, 12:33 PM
RE: Cannot start container - by Armin@netPI - October-16th-2019, 01:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Start Up Queries yongzhi 3 2,190 July-20th-2021, 11:50 AM
Last Post: Armin@netPI
  TOSILOCK for CONTAINER COswald 3 2,184 July-13th-2021, 11:32 AM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,522 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,040 March-9th-2021, 08:47 AM
Last Post: WalterSchaefer
  docker.service start failed EUROKEY 13 9,170 January-17th-2021, 07:52 PM
Last Post: Armin@netPI
  OpenVPN container Armin@netPI 0 1,616 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,612 December-3rd-2020, 12:32 PM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,479 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,586 November-16th-2020, 01:35 PM
Last Post: alhammi
  Get host MAC via REST API inside container bschandra 4 3,642 November-16th-2020, 09:26 AM
Last Post: bschandra

Forum Jump:


Users browsing this thread: 1 Guest(s)