When using the IE App Publisher, a valid workspace is required. Within this workspace, the IE App Publisher stores additional metadata, such as the app ID, of built apps.
To run commands related to standalone apps, you must first add the IE App Publisher configuration by using the following command:
$ iectl config add publisher \
--name "publisherdev" \ # unique name for the confguration
--workspace "/home/WS" \ # path to for the workspace, used to store app related metadata
--dockerurl "http://127.0.0.1:2375" \ # your docker engine url, used for saving the image refrenced in the docker compose yaml
You create a workspace by running the following command within an empty folder:
iectl publisher workspace init
Alternatively, you can also set the IE_WORKSPACE
environment variable to a valid workspace:
export IE_WORKSPACE="/path/to/valid/workspace"