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:
-
- What command does docker use to view running containers?
- In docker, you can use the ps command to view running containers. The purpose of this command is to list the containers. When the parameter is set to "-a", you can display all containers including those that are not running. The syntax is "docker ps - a".
- Docker 41339 2022-02-08 16:21:48
-
- What is the difference between docker container and warehouse
- Differences: 1. A container is a running instance created from an image. An instance after the image is started is called a container, which is an application or a group of applications that run independently; 2. A warehouse is a place where image files are stored centrally. The warehouse registration server generally stores many Each warehouse has multiple mirrors, and each mirror has a different label.
- Docker 3107 2022-02-07 14:44:17
-
- How to check the log if docker fails to start
- How to check the log if docker fails to start: 1. Use the inspect command to obtain the log address of the container, the syntax is "docker inspect --format container name"; 2. Use the cat command to view the log address found by the inspect command, the syntax is "cat log address" ".
- Docker 22501 2022-02-07 11:49:18
-
- What is fastdfs and docker
- fastdfs is an open source distributed file system with functions including file storage, file synchronization, file access, etc., which solves the problems of large-capacity storage and load balancing; docker is an open source application container engine that can package applications and dependency packages into a in a portable image.
- Docker 1835 2022-02-07 11:42:52
-
- How to check which directory the pull image is in docker
- Method: 1. Use the "cd var/lib/docker/" command to enter the docker directory; 2. Use the "cd containers/" command to enter containers. Each serial number is an image; 3. Use the cd command to enter one of the mirrors to view the directory. Just structure.
- Docker 17895 2022-02-07 11:32:48
-
- When does docker use the pull command?
- In docker, the pull command is used when pulling or updating a specified image from the mirror warehouse; this command can pull all tagged images by setting different parameters, or ignore the verification of the image. The syntax is "docker pull [OPTIONS] NAME ".
- Docker 3113 2022-02-07 11:25:22
-
- What does chroot do in docker?
- In docker, chroot is an operation in Unix and Linux systems. It changes the apparent root directory of a running software process and its sub-processes. It can change the root directory of a process so that the program cannot access other directories. other directories.
- Docker 3340 2022-02-07 11:13:38
-
- Will the ip change after docker restarts?
- In docker, the ip will change after restarting; docker uses bridge connection by default, and when starting the container, it will obtain the corresponding ip address in order, which causes the ip to change every time the container is restarted.
- Docker 7461 2022-02-07 10:54:35
-
- Docker container does not stop exiting
- In docker, you can press "Ctrl+P+Q" to make the container exit without stopping; if you exit the container after entering the docker container, the container will become Exited. "Ctrl+P+Q" will exit the container and the container will not stop. will stop.
- Docker 5942 2022-02-07 10:46:05
-
- What are the communication methods between containers in Docker?
- Communication methods between containers in Docker: 1. Use the container IP to access; 2. Use the host's "ip:port" to access; 3. Use link to establish a connection for communication; 4. Use "User-defined networks" for communication.
- Docker 13027 2022-02-07 10:38:10
-
- How to check where container information is stored in docker
- In docker, you can use the inspect command to see where the container information is stored. The purpose of this command is to obtain the metadata of the container or image. You can view the container information by setting the parameters to the specified container name. The syntax is "docker inspect container name ".
- Docker 6870 2022-02-07 10:31:09
-
- What should I do if docker cannot access the container?
- Method: 1. Use the "vi/etc/sysctl.conf" command to modify the "sysctl.conf" file; 2. Add "net.ipv4.ip_forward=1" to the file; 3. Use the "systemctl restart network" command to restart the server Just network.
- Docker 7176 2022-02-07 10:14:10
-
- You must understand the principles of network interconnection between Docker containers
- This article brings you relevant knowledge about the principles of network interconnection between docker containers. I hope it will be helpful to you.
- Docker 3320 2022-02-06 06:00:36
-
- The most systematic mastery of Docker core technology (summary sharing)
- This article brings you some related questions about container operation of docker core technology, detailed explanation of Dockerfile, etc. I hope it will be helpful to you.
- Docker 2463 2022-02-04 07:00:31
-
- What you must know about Docker Compose (summary sharing)
- This article brings you relevant knowledge about Docker Compose, I hope it will be helpful to you.
- Docker 3382 2022-02-02 06:00:32