Publish Your First Application
Before publishing an application, you need to register a community account and visit the Developer Center. Follow the interface guidance to submit for review (after submitting the application, it's recommended to contact the customer service group or try to contact us for quick review). After the application is completed, you become a LCMD MicroServer developer.
Before submitting your application to the store for review, please read the Application Store Submission Guide.
Submit your application to the store for review:
Or submit for review through the command-line tool
lzc-cli(version 1.2.54 and above). For how to installlzc-cli, please refer to Development Environment Setupbashlzc-cli project build lzc-cli appstore publish ./your-app.lpklzc-cli project build lzc-cli appstore publish ./your-app.lpk
Push Images to Official Registry
The network quality of Docker Hub is not very stable, so Lazycat officially provides a stable registry for everyone to use.
TIP
Before developers finally upload to the store, they need to push the images used in the lpk to the official registry. After the upload is complete, they need to manually adjust the relevant references in manifest.yml (otherwise it may cause application reviewers to be unable to install the application, leading to store review failure)
$ lzc-cli appstore copy-image <image name accessible from public network>
# After upload completion, it will print registry.lazycat.cloud/<community-username>/<image name>:<hash version>$ lzc-cli appstore copy-image <image name accessible from public network>
# After upload completion, it will print registry.lazycat.cloud/<community-username>/<image name>:<hash version>For example:
lzc-cli appstore copy-image alpine:3.18
Waiting ... ( copy alpine:3.18 to lazycat offical registry)
lazycat-registry: registry.lazycat.cloud/snyh1010/library/alpine:d3b83042301e01a4lzc-cli appstore copy-image alpine:3.18
Waiting ... ( copy alpine:3.18 to lazycat offical registry)
lazycat-registry: registry.lazycat.cloud/snyh1010/library/alpine:d3b83042301e01a4Note that the use of registry.lazycat.cloud has the following limitations:
- To ensure the stability of the images referenced by LPK, the generated image tag will be replaced with IMAGE_ID. Each time
copy-imageis executed, the server will forcibly execute adocker pull - The uploaded image must exist on the public network. The
pulloperation is performed on the server side, so images that only exist locally on the developer cannot becopy-image - The uploaded image must be referenced by at least one store application. The repository will periodically perform garbage collection operations
registry.lazycat.cloudis only for internal use within LCMD. Using it outside LCMD will have black technology rate limiting