cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1200
Views
1
Helpful
2
Replies

IOx Application not starting automatically

Justin Chin-You
Level 1
Level 1

Hi All,

I have an IOx Application with the following Package.yaml. I have no idea why but everything seems to load in fine but the target parameter doesn't seem to start. If I open a console and run it, the app runs fine. However the moment I close the console the app dies as well.

Anyone with any ideas I'd really appreciate it.

descriptor-schema-version: "2.2"

info:

name: Test App

description: "Test App2"

version: "1.0"

author-link: "http://www.cisco.com"

author-name: "Cisco Systems"

app:

cpuarch: "x86_64"

type: docker

resources:

   profile: c1.small

   network:

     -

       interface-name: eth0

       ports:

         tcp:

           - 8284

startup:

   rootfs: rootfs.tar

   target: ["/opt/mqttfolder/mqttappExec"]

2 Replies 2

Steve Zhang
Cisco Employee
Cisco Employee

The main reason is it prints too much information in the console. So it is recommended to put all these console information in a log file.

Thanks Steve! Giving it a go and see if we can adjust!