Home > other >  Using URLOS covenant-lite quickstart docker container application development
Using URLOS covenant-lite quickstart docker container application development

Time:09-17

Using Docker technology can help the enterprise fast for extending the service, so as to reach the flexibility to deploy business ability, in the cloud service concept, Docker usage scenarios and scope of further development, in the case of micro service architecture is more and more popular now, micro service + Docker perfect combination, more convenient operational deployment of ground micro service architecture,

How quick start docker, develop our own container application? Our today's not the virtual, something to fully dry, use URLOS rapid development docker application, and can apply export for others to use,

Do not understand URLOS friend, probably to introduce here, URLOS panel is a container cloud management, based on the Docker packaging container technology and run the application, can automatically identify fault machine and cloud application and will be transferred to the cloud application available on the machine, single fault does not affect the business, cooperate with cloud storage can be easily set up 7 x24 hours continuous running application environment,
URLOS website: https://www.urlos.com/
URLOS installation method: https://www.urlos.com/center-home-index-detail-10-22-y.html
URLOS development communication QQ group: 695164700147821 80

installation URLOS:

 curl - SO https://www.urlos.com/install & amp; & Chmod 544 the install & amp; & ./install 


After the installation is complete, the address bar enter http://ip:9968 can access,

highlight: using URLOS docker application of the basic process:



Here we have to make a LNP (Linux) + nginx + PHP website environment, for example, quickly make a can export to other people use the docker application,

Before starting the production, we go to docker website registered an account, so that we can upload to make a good image to docker warehouse, open https://hub.docker.com/

A hub account, then we started making!
the first step: pull mirror, start the container into the container
Use SSH tool connection between a host and enter the following command pull a PHP: 7.3.3 - FPM - stretch image, start the container and get inside the container:
 docker run - it PHP: 7.3.3 - FPM - stretch bash 


See above similar strings, says it has successfully into the container inside, this is the current container ID
step 2: we must update image, install nginx and PHP extensions
To update image source, domestic use of ali is quicker
 set - ex \ & amp; & Sed -i '[email protected]@mirrors.aliyun.com @'/etc/apt/sources list 
The set - the ex \ & amp; & Sed -i '[email protected]@mirrors.aliyun.com @'/etc/apt/sources list
Apt to get the update


BBS Posting too tired people, see the full tutorial please click my blog https://blog.csdn.net/qq_19812661/article/details/88911694
  • Related