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 are the main features of docker?
- The main features of docker: 1. Lightweight: One machine can run multiple docker containers and takes up very few resources. 2. Docker containers are based on open standards and can run on almost all platforms. 3. Extremely safe.
- Docker 4935 2020-03-26 14:21:57
-
- Will data be lost after docker restarts?
- After docker is restarted, the log or database data generated during the running of the container will be cleared. Docker can permanently store data by mounting the host disk directory.
- Docker 13289 2020-03-26 14:11:00
-
- What to do if the docker container fails to restart
- The solution to the failure to restart the docker container is: 1. Check the mount points occupied by docker; 2. Execute the umount command to uninstall the occupied mount points; 3. Execute the command [docker ps -aq | xargs -I {} docker start {} ] Just restart the container.
- Docker 3355 2020-03-25 18:05:10
-
- How docker runs a project
- The method for docker to run a project is: 1. Enter the directory where your project war is stored; 2. Build the image; 3. Run the docker container; 4. Execute the command [192.168.1.178:8888/myproject] to access the project.
- Docker 4819 2020-03-25 17:55:00
-
- How docker restarts all container services
- The method for docker to restart all container services is to execute the command [docker start $(docker ps -a | awk '{ print $1}' | tail -n +2)] to start all container services.
- Docker 10555 2020-03-25 17:46:57
-
- What should I do if docker cannot delete the image?
- The solution to the problem that docker cannot delete the image is: 1. Switch to the root user; 2. Execute the command [service docker stop]; 3. Execute the command [rm -rf /var/lib/docker] to delete the image.
- Docker 2597 2020-03-25 17:38:51
-
- How to build a docker private image server
- How to build a docker private image server: [docker run -itd -v /my_registry:/var/lib/registry -p 5000:5000--restart=always --...egistry:latest].
- Docker 2793 2020-03-25 15:35:55
-
- How to check the ip of docker container
- How to check the docker container IP: 1. Install the ifconfig command. You can use yum to install it directly. 2. Then directly use the ifconfig command to view the docker container IP.
- Docker 7270 2020-03-25 13:49:28
-
- How to solve the error when docker container calls yum
- The solution to the error when the docker container calls yum: copy the source in the same path on the host to the container, and then docker commit a new "base image", and then it can be used normally.
- Docker 1888 2020-03-25 13:32:50
-
- docker container cannot ping external network
- The inability of the docker container to ping the external network is usually caused by a problem with the docker container itself. We can solve the problem by stopping all containers and then restarting docker. This can be achieved by using the "service docker restart" command.
- Docker 3232 2020-03-25 12:57:46
-
- How to check image information in docker
- How to view image information with docker: 1. Use the docker images command to list existing images on your machine. 2. Use the inspect command to view image details.
- Docker 7589 2020-03-25 11:32:06
-
- How to run python script on docker
- The method to run a python script on docker is: 1. Create a project directory for the image; 2. Copy the script and dockerfile; 3. Execute the command [docker run -ti --name capturing pulkit/capturing:1.0] to run the script.
- Docker 4038 2020-03-25 11:18:18
-
- How docker kills stuck containers
- How docker kills a container: 1. Use the docker stop command to stop the container. 2. Use the docker kill command to stop the container. This command can force the container to stop.
- Docker 6644 2020-03-25 11:18:04
-
- How to create a docker account
- How to create a docker account: first use a browser to visit the registration page of "Docker Hub"; then fill in the registration page and click [Signup]; then verify the email and add a library; finally open the "Create Repository" page and "Create" That’s it.
- Docker 2791 2020-03-25 09:29:06
-
- Docker container cannot access the host host
- The docker container cannot access the host host. Solution: 1. Configure the firewall and reload the firewall. 2. Use --net host mode when starting the container. 3. Turn off the firewall.
- Docker 2456 2020-03-24 17:23:33