current location:Home > Technical Articles > Operation and Maintenance > Docker
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to modify docker's default storage directory
- How to modify the docker default storage directory: Use the vim editor to open the docker.service file (you can use the systemd command to view this file path), and then set the docker storage path in this file.
- Docker 4623 2020-04-01 13:27:09
-
- Can docker isolate resources?
- Docker can isolate resources. Docker implements resource isolation through namespace. System resources such as PID, IPC, and Network are no longer global, but belong to a specific Namespace.
- Docker 2095 2020-04-01 13:13:45
-
- Can docker copy the image environment?
- How docker copies the image environment: 1. Export the image on a system that already has an image (use the docker save command). 2. Copy the exported image file to the corresponding system. 3. Start docker in the system, and then import the image file (use the docker load command).
- Docker 4690 2020-04-01 13:06:28
-
- Docker containers cannot access the external network
- Solution to the problem that the docker container cannot access the external network: Use the vi /etc/sysctl.conf command to open the sysctl.conf file, add "net.ipv4.ip_forward=1" to this file, and then restart the network service.
- Docker 8838 2020-04-01 11:51:34
-
- How to check the version of docker image
- You can use the "docker images" command in docker to view the image version. The docker images command can list information about all local images, where TAG represents the version information of the image.
- Docker 8106 2020-04-01 11:30:36
-
- How to transplant docker
- Docker transplantation method: 1. Use the export command to export the docker container. The complete command is: "docker export [container name or container ID]>export path and name of the tar package." 2. Use the import command in other machines to complete the transplantation.
- Docker 4346 2020-04-01 11:17:02
-
- How to shut down processes in docker containers
- How to close the process in the docker container: 1. Use the "docker exec" container name "ps -ef" command to view the process information. 2. Enter the container and use the "kill pid" command to shut down the process.
- Docker 8577 2020-04-01 10:39:39
-
- How to check the reason why docker container stopped
- How to check the reason for the stop of the docker container: first use docker ps -a to check the status of the container, and first determine whether the container is started; then use docker logs to check the business log to determine whether the business is normal; finally, you can use docker exec -it to enter the container to check errors.
- Docker 10857 2020-03-31 18:00:22
-
- How to install docker on Apple computer
- How to install docker on Apple computers: 1. Download the Docker.dmg file; 2. Double-click the installation package and drag the blue whale icon into the Applications folder; 3. Double-click the Docker icon to run docker.
- Docker 3842 2020-03-31 17:44:20
-
- How to check what versions a docker image has
- How to view all versions of a docker image: 1. Enter the docker hub website; 2. Search the image name; 3. Click to view details; 4. Click Tags to see all versions.
- Docker 32902 2020-03-31 17:22:09
-
- How to use domestic docker image
- Methods for using domestic docker images: 1. Log in to the Alibaba Cloud Developer Platform; 2. After registration, find and create my container image; 3. Click Image Acceleration to generate an acceleration address; 4. Change the daemon.json file to use the accelerator.
- Docker 2811 2020-03-31 16:47:03
-
- How to install docker on remote server
- How to install docker on the remote server: 1. Use the ssh tool to log in to the remote server; 2. Use yum remove docker to uninstall the original docker of the system; 3. Use yum install and yum-config-manager to install the docker version library.
- Docker 3671 2020-03-31 16:19:22
-
- How to solve the problem of insufficient memory when running docker
- Solution to the problem of insufficient memory when running docker: 1. Restart the docker service. 2. Use the top and ps commands to check for processes that occupy high memory, and then stop them. 3. Release the occupied memory.
- Docker 6093 2020-03-31 16:08:54
-
- How to deploy war package to docker
- How to deploy the war package to docker: first use the ssh tool to upload the war package to the centos system home directory; then use the docker cp command to copy the war package to the docker container; finally execute docker start to run the image.
- Docker 4293 2020-03-31 16:07:36
-
- The main difference between docker and virtual machines
- The main difference between docker and virtual machines: Docker is an open source application container engine, while a virtual machine refers to a complete computer system simulated by software with complete hardware system functions and running in a completely isolated environment.
- Docker 13866 2020-03-31 15:50:13