# build-opencloudos-container.sh **Repository Path**: shell_way/build-opencloudos-container.sh ## Basic Information - **Project Name**: build-opencloudos-container.sh - **Description**: This to build base container image for OpenCloudOS. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-24 - **Last Updated**: 2022-10-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # build-opencloudos-container.sh ## About This to build base container image for [OpenCloudOS](https://gitee.com/OpenCloudOS). ## Build Run following commands in OpenCloudOS. ```shell sudo dnf -y install podman sudo systemctl enable --now podman.service IMGTAG=8.6 ./build.sh grep opencloudos < <(sudo podman images) ``` ## Test ```shell sudo podman build --squash -f ./tests/opencloudos-echo-server.dockerfile -t opencloudos-echo-server sudo podman run -d --restart always --name opencloudos-echo-server -p 8000:8000 opencloudos-echo-server telnet localhost 8000 < <(echo "Hello and bye :)"; sleep 1) ``` ## Copyright [MIT license](LICENSE).