Create App without Docker - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

App versions can also be created without connecting to a Docker Engine. To achieve this, Docker images must be available as *.tar file.

You create an app version without connecting to a Docker Engine with the following command:

$ iectl publisher standalone-app version create \ 
            --appname "my cool app" \                                                           # "my cool app" is a previously created application available within your workspace
            --changelogs "initial release" \ 
            --yamlpath "/path/to/folder/with/docker-compose.yml" \ 
            --imagetarjson "{\"service name in docker compose\":\"path/to/image/tar/file.tar\"}" \  # Json string consists of <servicename : path of image tar associated with it>. Make sure tar consits of same image name which you have mentioned in docker compose file.
            --versionnumber "1.0.0" \                                                           # This version must be conformant to the semantic versioning specification
            --redirectsection sch \
            --redirecttype FromBoxSpecificPort \
            --redirecturl "80"