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 check whether the docker container is started or not?
- How to check whether the docker container is started: You can use the docker ps command to view all running docker containers. This command can list all running containers.
- Docker 7194 2020-03-30 10:06:39
-
- How to enter the docker container
- How to enter the docker container: 1. Use the docker attach command to enter the docker container. 2. Use the docker exec command to enter the docker container.
- Docker 11363 2020-03-30 09:48:59
-
- How to check the application version in docker
- How to check the application version in docker: 1. Use the "docker ps" command to check the currently running container. 2. Use the "docker exec -it (application name, or id) bash" command to enter the container. 3. Log in to the container, and then the detailed information of the application will be displayed, including the application version.
- Docker 6185 2020-03-30 09:41:12
-
- How to start docker in ubuntu
- How to start docker in ubuntu: Use the "systemctl start docker" command in the ubuntu terminal to directly start the docker service.
- Docker 10890 2020-03-28 15:25:14
-
- How to delete docker in ubuntu
- How to completely delete docker in Ubuntu: first use the "dpkg -l | grep docker" command to query related software packages, and then use the "sudo apt remove --purge dock.io" command to delete the queried packages.
- Docker 2969 2020-03-28 14:54:19
-
- How to detect if docker installation is successful
- How to detect whether docker is installed successfully: Execute the docker command in the terminal, and then the relevant information will be output. We can judge whether docker is installed successfully based on the output information.
- Docker 3123 2020-03-26 17:24:37
-
- 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 5092 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 13446 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 3562 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 4961 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 10713 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 2753 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 2936 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 7448 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 2071 2020-03-25 13:32:50