Category: PaaS
-
Post Views: 22 1. In a container built based on nginx:alpine, a URL response 404 needs to edit the configuration of nginx to make it respond to 200. as shown in Figure 1 2. After editing the configuration of nginx, you need to reload. Execute the following commands. as shown in Figure 2 3. After reloading, the URL response is…
-
Post Views: 63 1. Open: Terminal, one-click installation, execute the command: curl –fssl https://get.docker.com | SH. During the prompt that curl is not found, execute: sudo apt install curl. as shown in Figure 1 2. To run Docker as a non-privileged user, consider setting up a Docker daemon with rootless mode for your user to install: dockerd-rootless-setuptool.sh installation. Visit https://docs.docker.com/go/rootless/…
-
Post Views: 15 1. When executing the command: composer install, an error is reported: script google\task\composer::cleanup handling the pre-autoload-dump event terminated with an exception. as shown in Figure 1 2. Check /vendor/google/apiclient/readme.md, clean up unused services, there are more than 200 Google API services. Chances are you won’t want them all. To avoid transferring these dependencies in your code, you…
-
Post Views: 19 1. Execute the command: docker exec -t object-fpm composer install -vvv, an error is reported:[RuntimeException]Git was not found in your path, skipping source download. as shown in Figure 1 2. Due to the use of the Alpine base image. Edit Dockerfile , add: apk add –no-cache git . as shown in Figure 2 3. After building the…
-
Post Views: 15 1. Execute the command: docker exec -i object-mysql mysql -uroot -proot object_store < object_store.sql , error: mysql:[Warning]Using a password on the command line interface can be inspect. as shown in Figure 1 2. Enter the mysql container, view the database Object_store, and display all the tables, response: Empty set (0.00 sec). as shown in Figure 2 3.…
-
Post Views: 55 1. When executing the command: docker login, an error is reported: /usr/bin/docker-credential-desktop.exe: Invalid argument error saving credentials: Error storing credentials – err: exit status 1, out: “. as shown in Figure 1 2. Decide to close the current window, reopen Ubuntu, execute the command again, and the automatic login is successful. as shown in Figure 2
-
Post Views: 17 1. When executing the command: docker-compose -f docker-compose.yml up –build –force-recreate, an error: error[startup_object-fpm internal]Load metadata for docker.io/library/php:7.4-fpm-alpine . 2. After pulling the latest code, execute the command again, and report an error: Error Response from Daemon: Error while creating mount source path. as shown in Figure 1 3. Decide in Docker, delete the volumes of the…
-
Post Views: 22 1. In the local development environment, Laravel Sail has been deployed based on the deployment. Open URL:http://weibo.test/, the response 200. as shown in Figure 1 2. Register a Heroku account and use @163.com to find that it is not allowed, and finally use @gmail.com, the registration is successful. as shown in Figure 2 3. Click the link…
-
Post Views: 57 1. Install Nginx Proxy Manager, open the Windows Terminal command line, and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Enter the user root directory, create a new directory: proxy-manager, enter the directory: proxy-manager, create a file: docker-compose.yml. as shown in Figure 2 3. Edit the file: docker-compose.yml, save and…