Category: Docker
-
Post Views: 14 1. All Rancher environment variables at this stage have no default values, so they must be clearly set in the Rancher environment variables, as shown in Figure 1 2. The configuration file of the previous environment variable, if the environment variable is not set: channel_pub_api_cfg_db_table_pr efix, then set its default value to: channel_pub_api_cfg_db_table_prefix, that is, its value…
-
Post Views: 14 1. The current upgrade plan, after the Rancher container is upgraded, enter the Docker container and run it in sequence on the command line: 2. The problem with the current upgrade plan is that sometimes after the Rancher container is upgraded, the operation and maintenance personnel need to paste and run at least 2 commands in each…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…
-
Post Views: 15 1. Supervisor is a small system that can manage and monitor various processes in UNIX-like systems. The configuration file of supervisor is a Windows-ini style (Python ConfigParser) file. 2. The program configuration item of the configuration file of Supervisor 3. Create a new \build\c_files\etc\supervisord.d\yii-task-submit.ini, as shown in Figure 1 4. StopWaitSecs, after the program sends a stop…
-
Post Views: 44 1. In the local environment, post in postman , http://api.aims-api.localhost/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response is successful 2. In development environment, post in postman , http://wjdev2.chinamcloud.com:8659/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response failed, as shown in Figure 2 3. Edit the Dockerfile of the interface (RPC client), and delete the passthru in disable_functions 4. Edit the Dockerfile of the RPC server and…
-
Post Views: 49 1. Since the yiisoft/yii2-composer (2.0.7) cannot be downloaded from dist, now try to download from the source code, the process class depends on proc_open , which is not available in php installation, as shown in Figure 1 2. Edit Dockerfile, delete proc_open, proc_close in disable_functions 3. The previous proc_open and proc_close were also disabled and can be…
-
Post Views: 50 1. The code of the Dockerfile is as follows: 2. When building based on Jenkins, the details of the error are as follows, as shown in Figure 1 3. Edit the dockerfile, temporarily cancel the composer related, after the build is successful, run composer -v in the docker container, no response, as shown in Figure 2 4.…
-
Post Views: 14 1. Windows version, it is Windows 10 home Chinese version, does not support Hyper-V, as shown in Figure 1 2. Open the URL:https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install, if your system doesn’t meet the requirements to run Docker for Windows, you can install Docker Toolbox, Dockbox Toolbox uses Oracle Virtual Box instead of Hyper-V, as shown in Figure 2 3. Click the…